public class StoreLocalVarInstr extends TwoOperandInstr implements FixedArityInstr
EMPTY_OPERANDS| Constructor and Description | 
|---|
| StoreLocalVarInstr(IRScope scope,
                  Operand value,
                  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 StoreLocalVarInstr | decode(IRReaderDecoder d) | 
| void | decrementLVarScopeDepth() | 
| void | encode(IRWriterEncoder e) | 
| LocalVariable | getLocalVar()This is the variable that is being stored into in this scope. | 
| IRScope | getScope() | 
| Operand | getValue() | 
| 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, getOperand2, getOperands, setOperand, setOperand1, setOperand2canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, toString, transfersControlpublic StoreLocalVarInstr(IRScope scope, Operand value, LocalVariable lvar)
public Operand getValue()
public LocalVariable getLocalVar()
public IRScope getScope()
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic void decrementLVarScopeDepth()
public void simplifyOperands(Map<Operand,Operand> valueMap, boolean force)
simplifyOperands in class Instrpublic Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
public static StoreLocalVarInstr decode(IRReaderDecoder d)
public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Copyright © 2001-2015 JRuby. All Rights Reserved.