public class AttrAssignInstr extends NoResultCallInstr
argsCount, callSite, callSiteId, hasClosure, nameEMPTY_OPERANDS, operands| Constructor and Description |
|---|
AttrAssignInstr(Operand obj,
String attr,
Operand[] args) |
| 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).
|
boolean |
computeScopeFlags(IRScope scope)
Does this instruction do anything the scope is interested in?
|
static AttrAssignInstr |
create(Operand obj,
String attr,
Operand[] args) |
Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp) |
void |
visit(IRVisitor visitor) |
createblockInlining, canBeEval, cloneCallArgs, containsArgSplat, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallType, getClosureArg, getClosureArg, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringcanBeDeleted, canRaiseException, cloneOperands, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, transfersControlpublic static AttrAssignInstr create(Operand obj, String attr, Operand[] args)
public boolean computeScopeFlags(IRScope scope)
InstrcomputeScopeFlags in class CallBasepublic Instr clone(CloneInfo ii)
Instrclone in class NoResultCallInstrii - 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)
public void visit(IRVisitor visitor)
visit in class NoResultCallInstrCopyright © 2001-2015 JRuby. All Rights Reserved.