harpoon.Analysis.Counters
Class RuntimeMethodCloner

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

Constructor Summary
RuntimeMethodCloner(HCodeFactory parent, Linker linker)
          Creates a RuntimeMethodCloner.
 
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

RuntimeMethodCloner

public RuntimeMethodCloner(HCodeFactory parent,
                           Linker linker)
Creates a RuntimeMethodCloner.

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>