public class ReceiveSelfInstr extends Instr implements ResultInstr
EMPTY_OPERANDS| Constructor and Description |
|---|
ReceiveSelfInstr(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 |
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() |
void |
updateResult(Variable v) |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic ReceiveSelfInstr(Variable result)
public Operand[] getOperands()
getOperands in class Instrpublic Variable getResult()
getResult in interface ResultInstrpublic void updateResult(Variable v)
updateResult in interface ResultInstrpublic Instr cloneForInlining(InlinerInfo ii)
InstrcloneForInlining in class Instrii - This object manages renaming of variables and labels, handles
args and return values.public Instr cloneForBlockCloning(InlinerInfo ii)
InstrcloneForBlockCloning in class InstrCopyright © 2001–2024 JRuby. All rights reserved.