public class ConstMissingInstr extends CallInstr implements FixedArityInstr
argsCount, callSite, callSiteId, hasClosure, name
operands
EMPTY_OPERANDS
Constructor and Description |
---|
ConstMissingInstr(Variable result,
Operand currentModule,
RubySymbol 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) |
RubySymbol |
getMissingConst() |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
create, create, createWithKwargs, discardResult, getResult, updateResult
blockInlining, canBeEval, cloneCallArgs, computeScopeFlags, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallSiteFor, getCallType, getClosureArg, getClosureArg, getId, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, splatMap, targetRequiresCallersBinding, targetRequiresCallersFrame
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControl
public ConstMissingInstr(Variable result, Operand currentModule, RubySymbol missingConst, boolean isPotentiallyRefined)
public RubySymbol getMissingConst()
public Instr clone(CloneInfo ii)
Instr
public void encode(IRWriterEncoder e)
public static ConstMissingInstr decode(IRReaderDecoder d)
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class CallBase
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
Copyright © 2001-2018 JRuby. All Rights Reserved.