at.dms.backend
Class LivenessAnalysis

java.lang.Object
  |
  +--at.dms.backend.LivenessAnalysis

public class LivenessAnalysis
extends java.lang.Object

This class compute the liveness of each temporaries.


Constructor Summary
LivenessAnalysis(BasicBlock[] bblocks, BasicBlock[] eblocks)
          Creates a new instruction handle.
 
Method Summary
 QTemporary[] getTemporaries()
          Returns the temporaries defined in this method
 void run()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LivenessAnalysis

public LivenessAnalysis(BasicBlock[] bblocks,
                        BasicBlock[] eblocks)
Creates a new instruction handle.
Parameters:
instruction - The instruction.
prev - The handle of the next instruction in textual order.
Method Detail

run

public void run()

getTemporaries

public QTemporary[] getTemporaries()
Returns the temporaries defined in this method