public class NonlocalReturnInstr extends ReturnBase
Modifier and Type | Field and Description |
---|---|
IRMethod |
methodToReturnFrom |
returnValue
EMPTY_OPERANDS
Constructor and Description |
---|
NonlocalReturnInstr(Operand returnValue) |
NonlocalReturnInstr(Operand returnValue,
IRMethod methodToReturnFrom) |
Modifier and Type | Method and Description |
---|---|
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, cloneForInlinedClosure, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl
public final IRMethod methodToReturnFrom
public NonlocalReturnInstr(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
Copyright © 2001–2015 JRuby. All rights reserved.