public class OneArgOperandAttrAssignInstr extends AttrAssignInstr
argsCount, callSite, callSiteId, hasClosure, name
operands
EMPTY_OPERANDS
Constructor and Description |
---|
OneArgOperandAttrAssignInstr(Operand obj,
String attr,
Operand[] args,
boolean isPotentiallyRefined) |
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).
|
Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
computeScopeFlags, create, decode, encode, visit
create
blockInlining, canBeEval, cloneCallArgs, containsArgSplat, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallType, getClosureArg, getClosureArg, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringNonOperandArgs
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, toString, transfersControl
public Instr clone(CloneInfo ii)
Instr
clone
in class AttrAssignInstr
ii
- This object manages renaming of variables and labels, handles
args and return values.public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, Object[] temp)
interpret
in class AttrAssignInstr
Copyright © 2001-2015 JRuby. All Rights Reserved.