harpoon.Analysis.Quads
Class Unreachable

java.lang.Object
  |
  +--harpoon.Analysis.Quads.Unreachable

public abstract class Unreachable
extends Object

Unreachable gets rid of unreachable code. CAUTION: it modifies code in-place.

Version:
$Id: Unreachable.java,v 1.3 2002/02/26 22:41:42 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>

Constructor Summary
Unreachable()
           
 
Method Summary
static void prune(HCode hc)
          Prunes unreachable code from a quad graph in-place.
static void prune(HEADER header)
          Prunes unreachable code *without updating the derivation*.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Unreachable

public Unreachable()
Method Detail

prune

public static final void prune(HCode hc)
Prunes unreachable code from a quad graph in-place. Also updates the derivation for the HCode, if present.


prune

public static final void prune(HEADER header)
Prunes unreachable code *without updating the derivation*.