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
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) |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getArgIndex
getOperands, setOperand
getResult, updateResult
canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public ReceiveRestArgInstr(Variable result, int required, int argIndex)
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class ReceiveArgBase
public Instr clone(CloneInfo info)
Instr
public void encode(IRWriterEncoder e)
encode
in class ResultBaseInstr
public static ReceiveRestArgInstr decode(IRReaderDecoder d)
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean acceptsKeywordArguments)
receiveArg
in class ReceiveArgBase
Copyright © 2001-2022 JRuby. All Rights Reserved.