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