harpoon.Analysis.Quads
Class TypeSwitchRemover
java.lang.Object
harpoon.Analysis.Transformation.MethodMutator<Quad>
harpoon.Analysis.Quads.TypeSwitchRemover
- All Implemented Interfaces:
- Serializable
public final class TypeSwitchRemover
- extends MethodMutator<Quad>
TypeSwitchRemover
converts TYPESWITCH
quads
into chains of INSTANCEOF
and CJMP
quads.
- Version:
- $Id: TypeSwitchRemover.java,v 1.6 2004/02/08 01:53:14 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeSwitchRemover
public TypeSwitchRemover(HCodeFactory parent)
- Creates a
TypeSwitchRemover
.
mutateHCode
protected HCode<Quad> mutateHCode(HCodeAndMaps<Quad> input)
- Description copied from class:
MethodMutator
- Override this method to effect transformations on split
methods.
- Overrides:
mutateHCode
in class MethodMutator<Quad>