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 TypeMethodDescriptionvoidgetArg1()getArg2()Operand[]voidsetJumpTarget(Label target) voidsetOperand(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:
getOperandsin classInstr
-
setOperand
- Specified by:
setOperandin classInstr
-
setJumpTarget
-
getJumpTarget
- Specified by:
getJumpTargetin interfaceJumpTargetInstr- Specified by:
getJumpTargetin classBranchInstr
-
getArg1
-
getArg2
-
encode
-