public class IntegerMathInstr extends TwoOperandResultBaseInstr
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegerMathInstr.Op |
resultEMPTY_OPERANDS| Constructor and Description |
|---|
IntegerMathInstr(IntegerMathInstr.Op op,
Variable result,
Operand operand1,
Operand operand2) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
clone(CloneInfo info)
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 IntegerMathInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
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, getOperand2, getOperands, setOperand, setOperand1, setOperand2getResult, updateResultcanBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic IntegerMathInstr(IntegerMathInstr.Op op, Variable result, Operand operand1, Operand operand2)
public Instr clone(CloneInfo info)
Instrpublic static IntegerMathInstr decode(IRReaderDecoder d)
public void encode(IRWriterEncoder e)
encode in class ResultBaseInstrpublic java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
Copyright © 2001-2023 JRuby. All Rights Reserved.