public class OneArgOperandAttrAssignInstr extends AttrAssignInstr
argsCount, callSite, callSiteCounter, callSiteId, hasClosure, name, procNew
operands
EMPTY_OPERANDS
Modifier | Constructor and Description |
---|---|
protected |
OneArgOperandAttrAssignInstr(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
|
OneArgOperandAttrAssignInstr(IRScope scope,
Operand obj,
RubySymbol 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).
|
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope dynamicScope,
IRubyObject self,
java.lang.Object[] temp) |
create, decode, encode, visit
create, getResult
blockInlining, canBeEval, cloneCallArgs, computeScopeFlags, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallSiteFor, getCallSiteId, getCallType, getClosureArg, getClosureArg, getId, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setCallSiteId, setProcNew, simplifyOperands, splatMap, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringNonOperandArgs
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControl
protected OneArgOperandAttrAssignInstr(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, boolean potentiallyRefined, CallSite callSite, long callSiteId)
public OneArgOperandAttrAssignInstr(IRScope scope, Operand obj, RubySymbol attr, Operand[] args, boolean isPotentiallyRefined)
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 java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope dynamicScope, IRubyObject self, java.lang.Object[] temp)
interpret
in class AttrAssignInstr
Copyright © 2001-2020 JRuby. All Rights Reserved.