public class CheckArityInstr extends Instr
| Modifier and Type | Field and Description |
|---|---|
int |
opt |
int |
required |
int |
rest |
EMPTY_OPERANDS| Constructor and Description |
|---|
CheckArityInstr(int required,
int opt,
int rest) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkArity(Ruby runtime,
int numArgs) |
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.
|
Operand[] |
getOperands() |
String |
toString() |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControlpublic Operand[] getOperands()
getOperands in class Instrpublic Instr cloneForInlinedScope(InlinerInfo ii)
InstrcloneForInlinedScope in class Instrpublic Instr cloneForBlockCloning(InlinerInfo ii)
InstrcloneForBlockCloning in class Instrpublic void checkArity(Ruby runtime, int numArgs)
Copyright © 2001-2014 JRuby. All Rights Reserved.