Package org.jruby.ir.instructions
Class BTrueInstr
java.lang.Object
org.jruby.ir.instructions.Instr
org.jruby.ir.instructions.BranchInstr
org.jruby.ir.instructions.OneOperandBranchInstr
org.jruby.ir.instructions.BTrueInstr
- All Implemented Interfaces:
FixedArityInstr
,JumpTargetInstr
-
Field Summary
Fields inherited from class org.jruby.ir.instructions.Instr
EMPTY_OPERANDS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClone 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 BTrueInstr
int
interpretAndGetNewIPC
(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) simplifyInstr
(IRManager manager) void
Methods inherited from class org.jruby.ir.instructions.OneOperandBranchInstr
encode, getArg1, getJumpTarget, getOperands, setJumpTarget, setOperand
Methods inherited from class org.jruby.ir.instructions.Instr
canBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, isDead, isDeletable, markDead, renameVars, simplifyOperands, simplifyOperands, toString, toStringNonOperandArgs, transfersControl
-
Constructor Details
-
BTrueInstr
-
-
Method Details
-
clone
Description copied from class:Instr
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). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. -
simplifyInstr
- Overrides:
simplifyInstr
in classInstr
-
decode
-
visit
-
interpretAndGetNewIPC
public int interpretAndGetNewIPC(ThreadContext context, DynamicScope currDynScope, StaticScope currScope, IRubyObject self, Object[] temp, int ipc) - Overrides:
interpretAndGetNewIPC
in classInstr
-