public class ReceiveExceptionInstr extends Instr implements ResultInstr
Modifier and Type | Field and Description |
---|---|
boolean |
checkType
If true, the implementation (compiler/interpreter) may have to check the type
of the received value and unwrap it to yield a Ruby-level exception.
|
EMPTY_OPERANDS
Constructor and Description |
---|
ReceiveExceptionInstr(Variable result) |
ReceiveExceptionInstr(Variable result,
boolean checkType) |
Modifier and Type | Method and Description |
---|---|
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() |
Variable |
getResult() |
String |
toString() |
void |
updateResult(Variable v) |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControl
public final boolean checkType
public ReceiveExceptionInstr(Variable result, boolean checkType)
public ReceiveExceptionInstr(Variable result)
public Operand[] getOperands()
getOperands
in class Instr
public Variable getResult()
getResult
in interface ResultInstr
public void updateResult(Variable v)
updateResult
in interface ResultInstr
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
ii
- This object manages renaming of variables and labels, handles
args and return values.Copyright © 2001-2014 JRuby. All Rights Reserved.