Top Fields Constructors Methods
org.jruby.ir.instructions

public abstract Class OneOperandBranchInstr

extends BranchInstr
Class Inheritance
Known Direct Subclasses
org.jruby.ir.instructions.BFalseInstr, org.jruby.ir.instructions.BNilInstr, org.jruby.ir.instructions.BUndefInstr, org.jruby.ir.instructions.BTrueInstr
Imports
org.jruby.ir.Operation, org.jruby.ir.operands.Label, .Operand, org.jruby.ir.persistence.IRWriterEncoder

Field Summary

Modifier and TypeField and Description
private Label
private Operand

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Operand
public Label
public Operand[]
public void
public void

Field Detail

jumpTargetback to summary
private Label jumpTarget
valueback to summary
private Operand value

Constructor Detail

OneOperandBranchInstrback to summary
public OneOperandBranchInstr(Operation op, Label jumpTarget, Operand value)

Method Detail

encodeback to summary
public void encode(IRWriterEncoder e)

Overrides org.jruby.ir.instructions.Instr.encode.

Annotations
@Override
getArg1back to summary
public Operand getArg1()
getJumpTargetback to summary
public Label getJumpTarget()

Implements abstract org.jruby.ir.instructions.BranchInstr.getJumpTarget.

Implements org.jruby.ir.instructions.JumpTargetInstr.getJumpTarget.

getOperandsback to summary
public Operand[] getOperands()

Implements abstract org.jruby.ir.instructions.Instr.getOperands.

setJumpTargetback to summary
public void setJumpTarget(Label target)

Implements org.jruby.ir.instructions.JumpTargetInstr.setJumpTarget.

setOperandback to summary
public void setOperand(int i, Operand operand)

Implements abstract org.jruby.ir.instructions.Instr.setOperand.