public class ReceiveClosureInstr extends Instr implements ResultInstr
EMPTY_OPERANDS
Constructor and Description |
---|
ReceiveClosureInstr(Variable result) |
Modifier and Type | Method and Description |
---|---|
Instr |
cloneForBlockCloning(InlinerInfo ii)
Clone the instruction so it can be used in a cloned block which is present in a scope that itself
or an ancestor scope (in the case of nested blocks) is being inlined.
|
Instr |
cloneForInlinedScope(InlinerInfo ii)
Clone the instruction (present in a method/closure) so it can be inlined into another scope.
|
Operand[] |
getOperands() |
Variable |
getResult() |
void |
updateResult(Variable v) |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public ReceiveClosureInstr(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 cloneForInlinedScope(InlinerInfo ii)
Instr
cloneForInlinedScope
in class Instr
public Instr cloneForBlockCloning(InlinerInfo ii)
Instr
cloneForBlockCloning
in class Instr
Copyright © 2001-2014 JRuby. All Rights Reserved.