Package org.jruby.ir.instructions
Class OneOperandBranchInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.BranchInstr
org.jruby.ir.instructions.OneOperandBranchInstr
- All Implemented Interfaces:
JumpTargetInstr
- Direct Known Subclasses:
BFalseInstr,BNilInstr,BTrueInstr,BUndefInstr
-
Field Summary
FieldsFields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetArg1()Operand[]voidsetJumpTarget(Label target) voidsetOperand(int i, Operand operand) Methods inherited from class org.jruby.ir.instructions.BranchInstr
simplifyBranchMethods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, clone, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, toStringNonOperandArgs, transfersControl, visit
-
Field Details
-
jumpTarget
-
value
-
-
Constructor Details
-
OneOperandBranchInstr
-
-
Method Details
-
getOperands
- Specified by:
getOperandsin classInstr
-
setOperand
- Specified by:
setOperandin classInstr
-
setJumpTarget
-
getJumpTarget
- Specified by:
getJumpTargetin interfaceJumpTargetInstr- Specified by:
getJumpTargetin classBranchInstr
-
getArg1
-
encode
-