public class LoadLocalVarInstr extends Instr implements ResultInstr
EMPTY_OPERANDS| Constructor and Description |
|---|
LoadLocalVarInstr(IRScope scope,
TemporaryVariable result,
LocalVariable lvar) |
| 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).
|
LocalVariable |
getLocalVar() |
Operand[] |
getOperands() |
Variable |
getResult() |
Object |
interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
String |
toString() |
void |
updateResult(Variable v) |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControlpublic LoadLocalVarInstr(IRScope scope, TemporaryVariable result, LocalVariable lvar)
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 Object interpret(ThreadContext context, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block block)
public LocalVariable getLocalVar()
Copyright © 2001-2014 JRuby. All Rights Reserved.