public class NoResultCallInstr extends CallBase
argsCount, callSite, callSiteCounter, callSiteId, hasClosure, name, procNew
operands
EMPTY_OPERANDS
Modifier | Constructor and Description |
---|---|
|
NoResultCallInstr(IRScope scope,
Operation op,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
protected |
NoResultCallInstr(IRScope scope,
Operation op,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined,
CallSite callSite,
long callSiteId) |
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 NoResultCallInstr |
create(IRScope scope,
CallType callType,
RubySymbol name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
static NoResultCallInstr |
decode(IRReaderDecoder d) |
Variable |
getResult()
result and non-result call instructions are processed with the same code so we provide
this method to make that same code simpler.
|
void |
visit(IRVisitor visitor) |
blockInlining, canBeEval, cloneCallArgs, computeScopeFlags, containsArgSplat, encode, getArg1, getArgsCount, getCallArgs, getCallSite, getCallSiteFor, getCallSiteId, getCallType, getClosureArg, getClosureArg, getId, getName, getReceiver, hasLiteralClosure, inliningBlocked, interpret, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setCallSiteId, setProcNew, simplifyOperands, splatMap, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringNonOperandArgs
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControl
protected NoResultCallInstr(IRScope scope, Operation op, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean potentiallyRefined, CallSite callSite, long callSiteId)
public static NoResultCallInstr create(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, boolean isPotentiallyRefined)
public Variable getResult()
public Instr clone(CloneInfo ii)
Instr
public static NoResultCallInstr decode(IRReaderDecoder d)
Copyright © 2001-2020 JRuby. All Rights Reserved.