harpoon.Analysis.Tree
Class ConstantPropagation
java.lang.Object
harpoon.Analysis.Transformation.MethodMutator
harpoon.Analysis.Tree.ConstantPropagation
- All Implemented Interfaces:
- Serializable
public class ConstantPropagation
- extends MethodMutator
ConstantPropagation
performs constant
propagation on canonical tree form.
- Version:
- $Id: ConstantPropagation.java,v 1.4 2002/04/10 03:02:06 cananian Exp $
- Author:
- Karen Zee <kkz@tmi.lcs.mit.edu>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantPropagation
public ConstantPropagation(HCodeFactory parent)
- Creates a
ConstantPropagation
.
mutateHCode
protected HCode mutateHCode(HCodeAndMaps input)
- Description copied from class:
MethodMutator
- Override this method to effect transformations on split
methods.
- Overrides:
mutateHCode
in class MethodMutator