public class CheckArityInstr extends Instr implements FixedArityInstr
Modifier and Type | Field and Description |
---|---|
int |
opt |
boolean |
receivesKeywords |
int |
required |
int |
rest |
int |
restKey |
EMPTY_OPERANDS, operands
Constructor and Description |
---|
CheckArityInstr(int required,
int opt,
int rest,
boolean receivesKeywords,
int restKey) |
Modifier and Type | Method and Description |
---|---|
void |
checkArity(ThreadContext context,
Object[] args) |
Instr |
clone(CloneInfo info)
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).
|
String |
toString() |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperands, getOperation, getRPC, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, markDead, renameVars, setIPC, setRPC, simplifyAndGetResult, simplifyOperands, transfersControl
public final int required
public final int opt
public final int rest
public final boolean receivesKeywords
public final int restKey
public CheckArityInstr(int required, int opt, int rest, boolean receivesKeywords, int restKey)
public Instr clone(CloneInfo info)
Instr
public void checkArity(ThreadContext context, Object[] args)
Copyright © 2001-2015 JRuby. All Rights Reserved.