public class ReceivePostReqdArgInstr extends ReceiveArgBase
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
Constructor and Description |
---|
ReceivePostReqdArgInstr(Variable result,
int index,
int preReqdArgsCount,
int postReqdArgsCount) |
Modifier and Type | Method and Description |
---|---|
Instr |
cloneForBlockCloning(InlinerInfo ii)
Clone the instruction so it can be used in a cloned block which is present in a scope that itself
or an ancestor scope (in the case of nested blocks) is being inlined.
|
Instr |
cloneForInlinedScope(InlinerInfo ii)
Clone the instruction (present in a method/closure) so it can be inlined into another scope.
|
IRubyObject |
receivePostReqdArg(IRubyObject[] args,
int kwArgHashCount) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getArgIndex, getOperands, getResult, updateResult
canBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControl
public final int preReqdArgsCount
public final int postReqdArgsCount
public ReceivePostReqdArgInstr(Variable result, int index, int preReqdArgsCount, int postReqdArgsCount)
public String toString()
toString
in class ReceiveArgBase
public Instr cloneForInlinedScope(InlinerInfo ii)
Instr
cloneForInlinedScope
in class Instr
public Instr cloneForBlockCloning(InlinerInfo ii)
Instr
cloneForBlockCloning
in class Instr
public IRubyObject receivePostReqdArg(IRubyObject[] args, int kwArgHashCount)
Copyright © 2001-2015 JRuby. All Rights Reserved.