public class ReturnInstr extends ReturnBase
returnValue
EMPTY_OPERANDS
Constructor and Description |
---|
ReturnInstr(Operand returnValue) |
Modifier and Type | Method and Description |
---|---|
Instr |
cloneForInlinedClosure(InlinerInfo ii)
Clone the instruction (present in a closure) so it can be inlined into another scope.
|
Instr |
cloneForInlinedScope(InlinerInfo ii)
Clone the instruction (present in a method/closure) so it can be inlined into another scope.
|
Instr |
cloneForInlining(InlinerInfo ii)
Clone the instruction for use in an inlining context (either when a scope is inlined into
another scope, or when a block has to be cloned because its associated call belongs to
an inlined scope).
|
String |
toString() |
void |
visit(IRVisitor visitor) |
getOperands, getReturnValue, simplifyOperands
canBeDeleted, canRaiseException, cloneForBlockCloning, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl
public ReturnInstr(Operand returnValue)
public String toString()
toString
in class ReturnBase
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
ii
- This object manages renaming of variables and labels, handles
args and return values.public Instr cloneForInlinedScope(InlinerInfo ii)
Instr
cloneForInlinedScope
in class Instr
public Instr cloneForInlinedClosure(InlinerInfo ii)
Instr
cloneForInlinedClosure
in class Instr
Copyright © 2001–2016 JRuby. All rights reserved.