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.6 2004/02/08 01:53:14 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
Method Summary |
static void |
prune(Code 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 |
Unreachable
public Unreachable()
prune
public static final void prune(Code 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*.