public class BreakInstr extends Instr
EMPTY_OPERANDS| Constructor and Description |
|---|
BreakInstr(Operand rv,
IRScope s) |
| 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).
|
Operand[] |
getOperands() |
Operand |
getReturnValue() |
IRScope |
getScopeToReturnTo() |
void |
simplifyOperands(Map<Operand,Operand> valueMap,
boolean force)
This method takes as input a map of operands to their values, and outputs
If the value map provides a value for any of the instruction's operands
this method is expected to replace the original operands with the simplified values.
|
String |
toString() |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControlpublic Operand[] getOperands()
getOperands in class Instrpublic IRScope getScopeToReturnTo()
public Operand getReturnValue()
public Instr cloneForInlining(InlinerInfo ii)
InstrcloneForInlining in class Instrii - This object manages renaming of variables and labels, handles
args and return values.public Instr cloneForInlinedScope(InlinerInfo ii)
InstrcloneForInlinedScope in class Instrpublic void simplifyOperands(Map<Operand,Operand> valueMap, boolean force)
InstrsimplifyOperands in class InstrCopyright © 2001-2014 JRuby. All Rights Reserved.