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, resultEMPTY_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, updateResultcanBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControlpublic final int preReqdArgsCount
public final int postReqdArgsCount
public ReceivePostReqdArgInstr(Variable result, int index, int preReqdArgsCount, int postReqdArgsCount)
public String toString()
toString in class ReceiveArgBasepublic Instr cloneForInlinedScope(InlinerInfo ii)
InstrcloneForInlinedScope in class Instrpublic Instr cloneForBlockCloning(InlinerInfo ii)
InstrcloneForBlockCloning in class Instrpublic IRubyObject receivePostReqdArg(IRubyObject[] args, int kwArgHashCount)
Copyright © 2001–2024 JRuby. All rights reserved.