harpoon.Analysis.Quads
Class TypeSwitchRemover

java.lang.Object
  extended by harpoon.Analysis.Transformation.MethodMutator<Quad>
      extended by 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

Constructor Summary
TypeSwitchRemover(HCodeFactory parent)
          Creates a TypeSwitchRemover.
 
Method Summary
protected  HCode<Quad> mutateHCode(HCodeAndMaps<Quad> input)
          Override this method to effect transformations on split methods.
 
Methods inherited from class harpoon.Analysis.Transformation.MethodMutator
cloneHCode, codeFactory, mutateCodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeSwitchRemover

public TypeSwitchRemover(HCodeFactory parent)
Creates a TypeSwitchRemover.

Method Detail

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>