public class ReceivePostReqdArgInstr extends ReceiveArgBase implements FixedArityInstr
Modifier and Type | Field and Description |
---|---|
int |
postReqdArgsCount
The method/block parameter list has these many required parameters after opt+rest args
|
int |
preReqdArgsCount
The method/block parameter list has these many required parameters before opt+rest args
|
argIndex
result
EMPTY_OPERANDS, operands
Constructor and Description |
---|
ReceivePostReqdArgInstr(Variable result,
int argIndex,
int preReqdArgsCount,
int postReqdArgsCount) |
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 ReceivePostReqdArgInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
IRubyObject |
receivePostReqdArg(ThreadContext context,
IRubyObject[] args,
boolean acceptsKeywordArgument) |
String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getArgIndex, receiveArg
getResult, updateResult
canBeDeleted, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public final int preReqdArgsCount
public final int postReqdArgsCount
public ReceivePostReqdArgInstr(Variable result, int argIndex, int preReqdArgsCount, int postReqdArgsCount)
public String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class Instr
public Instr clone(CloneInfo info)
Instr
public void encode(IRWriterEncoder e)
encode
in class ResultBaseInstr
public static ReceivePostReqdArgInstr decode(IRReaderDecoder d)
public IRubyObject receivePostReqdArg(ThreadContext context, IRubyObject[] args, boolean acceptsKeywordArgument)
Copyright © 2001-2015 JRuby. All Rights Reserved.