public class ClassSuperInstr extends CallInstr
arguments, callSite, callSiteId, closure, methAddr, profile, receiver
EMPTY_OPERANDS
Constructor and Description |
---|
ClassSuperInstr(Variable result,
Operand definingModule,
MethAddr superMeth,
Operand[] args,
Operand closure) |
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).
|
Instr |
discardResult() |
Operand |
getDefiningModule() |
Object |
interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
CallBase |
specializeForInterpretation()
Interpreter can ask the instruction if it knows how to make a more
efficient instruction for direct interpretation.
|
void |
visit(IRVisitor visitor) |
create, create, getResult, toString, updateResult
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
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl
public Operand getDefiningModule()
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class CallInstr
ii
- This object manages renaming of variables and labels, handles
args and return values.public Instr discardResult()
discardResult
in class CallInstr
public CallBase specializeForInterpretation()
CallBase
specializeForInterpretation
in interface Specializeable
specializeForInterpretation
in class CallInstr
public Object interpret(ThreadContext context, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.