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, setOperand1canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, getIPC, getOperation, getRPC, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, setIPC, setRPC, 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 String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic Instr clone(CloneInfo ii)
Instrpublic 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-2015 JRuby. All Rights Reserved.