public class ReceiveKeywordRestArgInstr extends ReceiveArgBase implements FixedArityInstr
Modifier and Type | Field and Description |
---|---|
int |
required |
argIndex
result
EMPTY_OPERANDS, 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)
Does this instruction do anything the scope is interested in?
|
IRubyObject |
receiveArg(ThreadContext context,
IRubyObject[] args,
boolean keywordArgumentSupplied) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getArgIndex
getResult, updateResult
canBeDeleted, canRaiseException, cloneOperands, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, transfersControl
public ReceiveKeywordRestArgInstr(Variable result, int required)
public String toString()
toString
in class ReceiveArgBase
public boolean computeScopeFlags(IRScope scope)
Instr
computeScopeFlags
in class Instr
public Instr clone(CloneInfo ii)
Instr
public IRubyObject receiveArg(ThreadContext context, IRubyObject[] args, boolean keywordArgumentSupplied)
receiveArg
in class ReceiveArgBase
Copyright © 2001-2015 JRuby. All Rights Reserved.