public class LoadLocalVarInstr extends OneOperandResultBaseInstr implements FixedArityInstr
resultEMPTY_OPERANDS| Constructor and Description | 
|---|
| LoadLocalVarInstr(IRScope scope,
                 TemporaryLocalVariable result,
                 LocalVariable lvar) | 
| Modifier and Type | Method and Description | 
|---|---|
| Instr | clone(CloneInfo 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). | 
| static LoadLocalVarInstr | decode(IRReaderDecoder d) | 
| void | decrementLVarScopeDepth() | 
| void | encode(IRWriterEncoder e) | 
| LocalVariable | getLocalVar()This is the variable that is being loaded from the scope. | 
| IRScope | getScope() | 
| Object | interpret(ThreadContext context,
         StaticScope currScope,
         DynamicScope currDynScope,
         IRubyObject self,
         Object[] temp) | 
| void | simplifyOperands(Map<Operand,Operand> valueMap,
                boolean force)getLocalVar is saved for location and should not be simplified so we still know its original
 depth/offset. | 
| String[] | toStringNonOperandArgs() | 
| void | visit(IRVisitor visitor) | 
getOperand1, getOperands, setOperand, setOperand1getResult, updateResultcanBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, toString, transfersControlpublic LoadLocalVarInstr(IRScope scope, TemporaryLocalVariable result, LocalVariable lvar)
public LocalVariable getLocalVar()
public IRScope getScope()
public void simplifyOperands(Map<Operand,Operand> valueMap, boolean force)
simplifyOperands in class Instrpublic void decrementLVarScopeDepth()
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
encode in class ResultBaseInstrpublic static LoadLocalVarInstr decode(IRReaderDecoder d)
public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Copyright © 2001-2015 JRuby. All Rights Reserved.