public class AttrAssignInstr extends NoResultCallInstr
arguments, callSite, callSiteId, closure, methAddr, profile, receiver
EMPTY_OPERANDS
Constructor and Description |
---|
AttrAssignInstr(AttrAssignInstr instr) |
AttrAssignInstr(Operand obj,
MethAddr attr,
Operand[] args) |
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).
|
Object |
interpret(ThreadContext context,
DynamicScope dynamicScope,
IRubyObject self,
Object[] temp,
Block block) |
CallBase |
specializeForInterpretation()
Interpreter can ask the instruction if it knows how to make a more
efficient instruction for direct interpretation.
|
void |
visit(IRVisitor visitor) |
blockInlining, canBeEval, canModifyCode, canSetDollarVars, cloneCallArgs, containsSplat, getCallArgs, getCallSite, getCallType, getClosureArg, getMethodAddr, getOperands, getReceiver, hasClosure, inliningBlocked, isAllConstants, isAllFixnums, isRubyInternalsCall, isStaticCallTarget, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, simplifyOperands, targetRequiresCallersBinding, toString
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl
public AttrAssignInstr(AttrAssignInstr instr)
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class NoResultCallInstr
ii
- This object manages renaming of variables and labels, handles
args and return values.public CallBase specializeForInterpretation()
CallBase
specializeForInterpretation
in interface Specializeable
specializeForInterpretation
in class NoResultCallInstr
public Object interpret(ThreadContext context, DynamicScope dynamicScope, IRubyObject self, Object[] temp, Block block)
public void visit(IRVisitor visitor)
visit
in class NoResultCallInstr
Copyright © 2001-2014 JRuby. All Rights Reserved.