public class ReceiveOptArgInstr19 extends ReceiveOptArgBase
Modifier and Type | Field and Description |
---|---|
int |
minArgsLength
This instruction gets to pick an argument off the incoming list only if
there are at least this many incoming arguments
|
argIndex, result
EMPTY_OPERANDS
Constructor and Description |
---|
ReceiveOptArgInstr19(Variable result,
int index,
int minArgsLength) |
Modifier and Type | Method and Description |
---|---|
Instr |
cloneForBlockCloning(InlinerInfo ii)
Clone the instruction so it can be used in a cloned block which is present in a scope that itself
or an ancestor scope (in the case of nested blocks) is being inlined.
|
Instr |
cloneForInlining(InlinerInfo 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).
|
java.lang.Object |
receiveOptArg(IRubyObject[] args) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
getArgIndex, getOperands, getResult, updateResult
canBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControl
public final int minArgsLength
public ReceiveOptArgInstr19(Variable result, int index, int minArgsLength)
public java.lang.String toString()
toString
in class ReceiveArgBase
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
ii
- This object manages renaming of variables and labels, handles
args and return values.public Instr cloneForBlockCloning(InlinerInfo ii)
Instr
cloneForBlockCloning
in class Instr
public java.lang.Object receiveOptArg(IRubyObject[] args)
receiveOptArg
in class ReceiveOptArgBase
Copyright © 2002-2009 JRuby Team. All Rights Reserved.