Class IGVInstrListener

java.lang.Object
org.jruby.ir.util.IGVInstrListener
All Implemented Interfaces:
InstructionsListener

public class IGVInstrListener extends Object implements InstructionsListener
Created by enebo on 1/28/17.
  • Field Details

  • Constructor Details

    • IGVInstrListener

      public IGVInstrListener()
  • Method Details

    • getRemovedEdges

      public List<Tuple<Instr,Instr>> getRemovedEdges()
    • removedList

      public List<Instr> removedList(BasicBlock basicBlock)
    • instrChanged

      public void instrChanged(BasicBlock basicBlock, Instr oldInstr, Instr newInstr, int index, InstructionsListener.OperationType op)
      Description copied from interface: InstructionsListener
      listen to a change of a list of instructions, right before the change going to take place
      Specified by:
      instrChanged in interface InstructionsListener
      Parameters:
      basicBlock - List of instructions before the change happens
      oldInstr - If possible, specify which instruction is the old one at index
      newInstr - If possible, this the new element inserted at index
      index - where the manipulation takes place
      op - the operation type can be an ADD, REMOVE or UPDATE
    • reset

      public void reset()