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() |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getOperand1, getOperands, setOperand, setOperand1canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic 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 java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic Instr clone(CloneInfo ii)
Instrpublic static CheckArgsArrayArityInstr decode(IRReaderDecoder d)
public void encode(IRWriterEncoder e)
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
Copyright © 2001-2018 JRuby. All Rights Reserved.