public class CallInstr extends CallBase implements ResultInstr
| Modifier and Type | Field and Description |
|---|---|
protected Variable |
result |
argsCount, callSite, callSiteId, hasClosure, nameEMPTY_OPERANDS, operands| Modifier | Constructor and Description |
|---|---|
|
CallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
|
CallInstr(Operation op,
CallInstr ordinary) |
protected |
CallInstr(Operation op,
CallType callType,
Variable result,
String name,
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).
|
static CallInstr |
create(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
static CallInstr |
create(Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
Instr |
discardResult() |
Variable |
getResult() |
String |
toString() |
void |
updateResult(Variable v) |
void |
visit(IRVisitor visitor) |
blockInlining, canBeEval, cloneCallArgs, computeScopeFlags, containsArgSplat, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallType, getClosureArg, getClosureArg, getName, getReceiver, hasLiteralClosure, inliningBlocked, interpret, isAllFixnums, isAllFloats, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setProcNew, simplifyOperands, targetRequiresCallersBinding, targetRequiresCallersFramecanBeDeleted, canRaiseException, cloneOperands, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, transfersControlprotected Variable result
public CallInstr(CallType callType, Variable result, String name, Operand receiver, Operand[] args, Operand closure)
protected CallInstr(Operation op, CallType callType, Variable result, String name, Operand receiver, Operand[] args, Operand closure)
public static CallInstr create(Variable result, String name, Operand receiver, Operand[] args, Operand closure)
public static CallInstr create(CallType callType, Variable result, String name, Operand receiver, Operand[] args, Operand closure)
public Variable getResult()
getResult in interface ResultInstrpublic void updateResult(Variable v)
updateResult in interface ResultInstrpublic Instr discardResult()
public Instr clone(CloneInfo ii)
InstrCopyright © 2001-2015 JRuby. All Rights Reserved.