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
|
argIndexresultEMPTY_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, receiveArggetOperands, setOperandgetResult, updateResultcanBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic final int preReqdArgsCount
public final int postReqdArgsCount
public ReceivePostReqdArgInstr(Variable result, int argIndex, int preReqdArgsCount, int postReqdArgsCount)
public String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic Instr clone(CloneInfo info)
Instrpublic void encode(IRWriterEncoder e)
encode in class ResultBaseInstrpublic static ReceivePostReqdArgInstr decode(IRReaderDecoder d)
public IRubyObject receivePostReqdArg(ThreadContext context, IRubyObject[] args, boolean acceptsKeywordArgument)
Copyright © 2001-2016 JRuby. All Rights Reserved.