public class ReceiveRestArgInstr extends ReceiveArgBase implements FixedArityInstr
Modifier and Type | Field and Description |
---|---|
int |
required
Number of arguments already accounted for
|
argIndex
result
EMPTY_OPERANDS, operands
Constructor and Description |
---|
ReceiveRestArgInstr(Variable result,
int required,
int argIndex) |
Modifier and Type | Method and Description |
---|---|
Instr |
clone(CloneInfo info)
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).
|
Operand[] |
getOperands() |
IRubyObject |
receiveArg(ThreadContext context,
IRubyObject[] args,
boolean acceptsKeywordArguments) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getArgIndex
getResult, updateResult
canBeDeleted, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, transfersControl
public ReceiveRestArgInstr(Variable result, int required, int argIndex)
public String toString()
toString
in class ReceiveArgBase
public Operand[] getOperands()
getOperands
in class Instr
public Instr clone(CloneInfo info)
Instr
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean acceptsKeywordArguments)
receiveArg
in class ReceiveArgBase
Copyright © 2001-2015 JRuby. All Rights Reserved.