public class ClassSuperInstr extends CallInstr
argsCount, callSite, callSiteCounter, callSiteId, hasClosure, name, procNewoperandsEMPTY_OPERANDS| Modifier | Constructor and Description |
|---|---|
|
ClassSuperInstr(IRScope scope,
Variable result,
Operand definingModule,
RubySymbol name,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
protected |
ClassSuperInstr(IRScope scope,
Variable result,
Operand receiver,
RubySymbol name,
Operand[] args,
Operand closure,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
| 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,
java.util.EnumSet<IRFlags> flags)
Does this instruction do anything the scope is interested in?
|
static ClassSuperInstr |
decode(IRReaderDecoder d) |
Operand |
getDefiningModule() |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
void |
visit(IRVisitor visitor) |
create, create, createWithKwargs, encode, getResult, updateResultblockInlining, canBeEval, cloneCallArgs, 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, toStringNonOperandArgsgetOperands, setOperandcanBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControlprotected ClassSuperInstr(IRScope scope, Variable result, Operand receiver, RubySymbol name, Operand[] args, Operand closure, boolean potentiallyRefined, CallSite callSite, long callSiteId)
public Operand getDefiningModule()
public boolean computeScopeFlags(IRScope scope, java.util.EnumSet<IRFlags> flags)
InstrcomputeScopeFlags in class CallBasepublic Instr clone(CloneInfo ii)
Instrpublic static ClassSuperInstr decode(IRReaderDecoder d)
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
Copyright © 2001-2021 JRuby. All Rights Reserved.