public class ReceiveKeywordRestArgInstr extends ReceiveArgBase implements FixedArityInstr
Modifier and Type | Field and Description |
---|---|
int |
required |
argIndex
result
EMPTY_OPERANDS
Constructor and Description |
---|
ReceiveKeywordRestArgInstr(Variable result,
int required) |
Modifier and Type | Method and Description |
---|---|
Instr |
clone(CloneInfo ii)
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).
|
boolean |
computeScopeFlags(IRScope scope,
java.util.EnumSet<IRFlags> flags)
Does this instruction do anything the scope is interested in?
|
static ReceiveKeywordRestArgInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
IRubyObject |
receiveArg(ThreadContext context,
IRubyObject[] args,
boolean keywordArgumentSupplied) |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getArgIndex
getOperands, setOperand
getResult, updateResult
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public ReceiveKeywordRestArgInstr(Variable result, int required)
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class ReceiveArgBase
public boolean computeScopeFlags(IRScope scope, java.util.EnumSet<IRFlags> flags)
Instr
computeScopeFlags
in class Instr
public Instr clone(CloneInfo ii)
Instr
public void encode(IRWriterEncoder e)
encode
in class ResultBaseInstr
public static ReceiveKeywordRestArgInstr decode(IRReaderDecoder d)
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean keywordArgumentSupplied)
receiveArg
in class ReceiveArgBase
Copyright © 2001-2021 JRuby. All Rights Reserved.