harpoon.Analysis.Counters
Class RuntimeMethodCloner
java.lang.Object
harpoon.Analysis.Transformation.MethodMutator<Quad>
harpoon.Analysis.Counters.RuntimeMethodCloner
- All Implemented Interfaces:
- Serializable
public class RuntimeMethodCloner
- extends MethodMutator<Quad>
RuntimeMethodCloner
creates 'shadow' copies of all
non-virtual methods called in harpoon.Runtime.Counters
and places them in the Counters
class. That way, we
can easily *not* add statistics to stuff in
harpoon.Runtime.Counters
to avoid modifying the
statistics as we're attempting to report them.
- Version:
- $Id: RuntimeMethodCloner.java,v 1.6 2004/02/08 01:51:01 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 |
RuntimeMethodCloner
public RuntimeMethodCloner(HCodeFactory parent,
Linker linker)
- Creates a
RuntimeMethodCloner
.
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>