Package org.jruby.ir.instructions
Class CheckArgsArrayArityInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.OneOperandInstr
org.jruby.ir.instructions.CheckArgsArrayArityInstr
- All Implemented Interfaces:
FixedArityInstr
-
Field Summary
FieldsFields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
ConstructorsConstructorDescriptionCheckArgsArrayArityInstr
(Operand argsArray, int required, int opt, boolean rest) -
Method Summary
Modifier and TypeMethodDescriptionClone 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
void
interpret
(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) String[]
void
Methods inherited from class org.jruby.ir.instructions.OneOperandInstr
getOperand1, getOperands, setOperand, setOperand1
Methods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyInstr, simplifyOperands, simplifyOperands, toString, transfersControl
-
Field Details
-
required
public final int required -
opt
public final int opt -
rest
public final boolean rest
-
-
Constructor Details
-
CheckArgsArrayArityInstr
-
-
Method Details
-
getArgsArray
-
toStringNonOperandArgs
- Overrides:
toStringNonOperandArgs
in classInstr
-
clone
Description copied from class:Instr
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). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. -
decode
-
encode
-
interpret
public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) -
visit
-