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
Fields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getArg1()
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
-
OneOperandBranchInstr
-
-
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
-
encode
-