public class CheckArgsArrayArityInstr extends OneOperandInstr implements FixedArityInstr
Modifier and Type | Field and Description |
---|---|
int |
opt |
int |
required |
boolean |
rest |
EMPTY_OPERANDS
Constructor and Description |
---|
CheckArgsArrayArityInstr(Operand argsArray,
int required,
int opt,
boolean rest) |
Modifier and Type | Method and Description |
---|---|
Instr |
clone(CloneInfo ii)
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 CheckArgsArrayArityInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
Operand |
getArgsArray() |
Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp) |
String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getOperand1, getOperands, setOperand, setOperand1
canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public final int required
public final int opt
public final boolean rest
public CheckArgsArrayArityInstr(Operand argsArray, int required, int opt, boolean rest)
public Operand getArgsArray()
public String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class Instr
public Instr clone(CloneInfo ii)
Instr
public static CheckArgsArrayArityInstr decode(IRReaderDecoder d)
public void encode(IRWriterEncoder e)
public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Copyright © 2001-2016 JRuby. All Rights Reserved.