public class ReceiveRestArgInstr extends ReceiveArgBase implements FixedArityInstr
| Modifier and Type | Field and Description |
|---|---|
int |
required
Number of arguments already accounted for
|
argIndexresultEMPTY_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).
|
static ReceiveRestArgInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
IRubyObject |
receiveArg(ThreadContext context,
IRubyObject[] args,
boolean acceptsKeywordArguments) |
String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getArgIndexgetResult, updateResultcanBeDeleted, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic ReceiveRestArgInstr(Variable result, int required, int argIndex)
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic Instr clone(CloneInfo info)
Instrpublic void encode(IRWriterEncoder e)
encode in class ResultBaseInstrpublic static ReceiveRestArgInstr decode(IRReaderDecoder d)
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean acceptsKeywordArguments)
receiveArg in class ReceiveArgBaseCopyright © 2001-2015 JRuby. All Rights Reserved.