Top Fields Constructors Methods
org.jruby.ir.instructions

public abstract Class TwoOperandBranchInstr

extends BranchInstr
Class Inheritance
Known Direct Subclasses
org.jruby.ir.instructions.BIntInstr, org.jruby.ir.instructions.BNEInstr
Imports
org.jruby.ir.Operation, org.jruby.ir.operands.Label, .Operand, org.jruby.ir.persistence.IRWriterEncoder

Field Summary

Modifier and TypeField and Description
private Operand
private Operand
private Label

Constructor Summary

AccessConstructor and Description
public
TwoOperandBranchInstr(Operation op, Label jumpTarget, Operand arg1, Operand arg2)

Method Summary

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

Field Detail

arg1back to summary
private Operand arg1
arg2back to summary
private Operand arg2
jumpTargetback to summary
private Label jumpTarget

Constructor Detail

TwoOperandBranchInstrback to summary
public TwoOperandBranchInstr(Operation op, Label jumpTarget, Operand arg1, Operand arg2)

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()
getArg2back to summary
public Operand getArg2()
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.