edu.cmu.cs.crystal.tac.model
Interface ReturnInstruction

All Superinterfaces:
TACInstruction
All Known Implementing Classes:
ReturnInstructionImpl

public interface ReturnInstruction
extends TACInstruction

return x, the return of a value. This instruction is useful, among other things, for backwards analyses such as liveness to find the last variable being read.

Since:
3.3.2
Author:
Kevin Bierhoff

Method Summary
 Variable getReturnedVariable()
          Returns the variable carrying the value being returned.
 
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction
getNode, transfer, transfer
 

Method Detail

getReturnedVariable

Variable getReturnedVariable()
Returns the variable carrying the value being returned.

Returns:
the variable carrying the value being returned.