public class UnresolvedSuperInstr extends CallInstr
Modifier and Type | Field and Description |
---|---|
static String |
UNKNOWN_SUPER_TARGET |
argsCount, callSite, callSiteId, hasClosure, name
EMPTY_OPERANDS, operands
Constructor and Description |
---|
UnresolvedSuperInstr(Operation op,
Variable result,
Operand receiver,
Operand[] args,
Operand closure) |
UnresolvedSuperInstr(Variable result,
Operand receiver,
Operand[] args,
Operand closure) |
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?
|
Instr |
discardResult() |
Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
void |
visit(IRVisitor visitor) |
create, create, getResult, toString, updateResult
blockInlining, canBeEval, cloneCallArgs, containsArgSplat, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallType, getClosureArg, getClosureArg, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, targetRequiresCallersBinding, targetRequiresCallersFrame
canBeDeleted, canRaiseException, cloneOperands, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, transfersControl
public static final String UNKNOWN_SUPER_TARGET
public UnresolvedSuperInstr(Operation op, Variable result, Operand receiver, Operand[] args, Operand closure)
public boolean computeScopeFlags(IRScope scope)
Instr
computeScopeFlags
in class CallBase
public Instr clone(CloneInfo ii)
Instr
public Instr discardResult()
discardResult
in class CallInstr
public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Copyright © 2001-2015 JRuby. All Rights Reserved.