public class ConstMissingInstr extends CallInstr implements FixedArityInstr
argsCount, callSite, callSiteId, hasClosure, nameEMPTY_OPERANDS, operands| Constructor and Description |
|---|
ConstMissingInstr(Variable result,
Operand currentModule,
String missingConst,
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).
|
static ConstMissingInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
String |
getMissingConst() |
Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
create, create, discardResult, getResult, updateResultblockInlining, canBeEval, cloneCallArgs, computeScopeFlags, containsArgSplat, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallType, getClosureArg, getClosureArg, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, targetRequiresCallersBinding, targetRequiresCallersFramecanBeDeleted, canRaiseException, cloneOperands, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, toString, transfersControlpublic String getMissingConst()
public Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
public static ConstMissingInstr decode(IRReaderDecoder d)
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class CallBasepublic Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Copyright © 2001-2015 JRuby. All Rights Reserved.