public class RaiseArgumentErrorInstr extends NoOperandInstr implements FixedArityInstr
EMPTY_OPERANDS
Constructor and Description |
---|
RaiseArgumentErrorInstr(int required,
int opt,
boolean rest,
int numArgs) |
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 RaiseArgumentErrorInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
int |
getNumArgs() |
int |
getOpt() |
int |
getRequired() |
boolean |
getRest() |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public RaiseArgumentErrorInstr(int required, int opt, boolean rest, int numArgs)
public int getNumArgs()
public int getOpt()
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class Instr
public int getRequired()
public boolean getRest()
public Instr clone(CloneInfo ii)
Instr
public void encode(IRWriterEncoder e)
public static RaiseArgumentErrorInstr decode(IRReaderDecoder d)
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
Copyright © 2001-2018 JRuby. All Rights Reserved.