public class ZSuperInstr extends UnresolvedSuperInstr
UNKNOWN_SUPER_TARGET
argsCount, callSite, callSiteId, hasClosure, name
operands
EMPTY_OPERANDS
Constructor and Description |
---|
ZSuperInstr(IRScope scope,
Variable result,
Operand receiver,
Operand[] args,
Operand closure,
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).
|
boolean |
computeScopeFlags(IRScope scope)
Does this instruction do anything the scope is interested in?
|
static ZSuperInstr |
decode(IRReaderDecoder d) |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
void |
visit(IRVisitor visitor) |
discardResult
create, create, createWithKwargs, encode, getResult, updateResult
blockInlining, canBeEval, cloneCallArgs, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallSiteFor, getCallType, getClosureArg, getClosureArg, getId, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, splatMap, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringNonOperandArgs
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControl
public boolean computeScopeFlags(IRScope scope)
Instr
computeScopeFlags
in class UnresolvedSuperInstr
public Instr clone(CloneInfo ii)
Instr
clone
in class UnresolvedSuperInstr
ii
- This object manages renaming of variables and labels, handles
args and return values.public static ZSuperInstr decode(IRReaderDecoder d)
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
interpret
in class UnresolvedSuperInstr
public void visit(IRVisitor visitor)
visit
in class UnresolvedSuperInstr
Copyright © 2001-2018 JRuby. All Rights Reserved.