public class ZSuperInstr extends UnresolvedSuperInstr
arguments, callSite, callSiteId, closure, methAddr, profile, receiver
EMPTY_OPERANDS
Constructor and Description |
---|
ZSuperInstr(Variable result,
Operand receiver,
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).
|
Operand[] |
getOperands() |
Object |
interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block aBlock) |
protected IRubyObject[] |
prepareArguments(ThreadContext context,
IRubyObject self,
Operand[] arguments,
DynamicScope dynamicScope,
Object[] temp) |
void |
visit(IRVisitor visitor) |
checkSuperDisabledOrOutOfMethod, discardResult, interpretSuper, specializeForInterpretation
create, create, getResult, toString, updateResult
blockInlining, canBeEval, canModifyCode, canSetDollarVars, cloneCallArgs, containsSplat, getCallArgs, getCallSite, getCallType, getClosureArg, getMethodAddr, getReceiver, hasClosure, inliningBlocked, isAllConstants, isAllFixnums, isRubyInternalsCall, isStaticCallTarget, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, simplifyOperands, targetRequiresCallersBinding
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class UnresolvedSuperInstr
ii
- This object manages renaming of variables and labels, handles
args and return values.public Operand[] getOperands()
getOperands
in class CallBase
protected IRubyObject[] prepareArguments(ThreadContext context, IRubyObject self, Operand[] arguments, DynamicScope dynamicScope, Object[] temp)
prepareArguments
in class CallBase
public Object interpret(ThreadContext context, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block aBlock)
interpret
in class UnresolvedSuperInstr
public void visit(IRVisitor visitor)
visit
in class UnresolvedSuperInstr
Copyright © 2001-2016 JRuby. All Rights Reserved.