Package org.jruby.ir.instructions
Class TwoOperandBranchInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.BranchInstr
org.jruby.ir.instructions.TwoOperandBranchInstr
- All Implemented Interfaces:
JumpTargetInstr
-
Field Summary
Fields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
ConstructorsConstructorDescriptionTwoOperandBranchInstr
(Operation op, Label jumpTarget, Operand arg1, Operand arg2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
getArg1()
getArg2()
Operand[]
void
setJumpTarget
(Label target) void
setOperand
(int i, Operand operand) Methods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyInstr, simplifyOperands, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Constructor Details
-
TwoOperandBranchInstr
-
-
Method Details
-
getOperands
- Specified by:
getOperands
in classInstr
-
setOperand
- Specified by:
setOperand
in classInstr
-
setJumpTarget
-
getJumpTarget
- Specified by:
getJumpTarget
in interfaceJumpTargetInstr
- Specified by:
getJumpTarget
in classBranchInstr
-
getArg1
-
getArg2
-
encode
-