harpoon.Analysis.Quads
Class ArrayCopyInliner

java.lang.Object
  extended by harpoon.Analysis.Quads.MethodInliningCodeFactory
      extended by harpoon.Analysis.Quads.SmallMethodInliner
          extended by harpoon.Analysis.Quads.ArrayCopyInliner
All Implemented Interfaces:
HCodeFactory

public class ArrayCopyInliner
extends SmallMethodInliner

ArrayCopyInliner will inline array copy.

Author:
Wes Beebee <wbeebee@mit.edu>

Nested Class Summary
 
Nested classes/interfaces inherited from class harpoon.Analysis.Quads.SmallMethodInliner
SmallMethodInliner.IntMap
 
Constructor Summary
ArrayCopyInliner(HCodeFactory hcf, ClassHierarchy ch)
           
 
Method Summary
protected  int score(HMethod hm, SmallMethodInliner.IntMap methodSize, MultiMap callSites)
          Override this if you want to define your own scoring function for inlining methods.
 
Methods inherited from class harpoon.Analysis.Quads.MethodInliningCodeFactory
clear, convert, getCodeName, inline, uninline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayCopyInliner

public ArrayCopyInliner(HCodeFactory hcf,
                        ClassHierarchy ch)
Method Detail

score

protected int score(HMethod hm,
                    SmallMethodInliner.IntMap methodSize,
                    MultiMap callSites)
Description copied from class: SmallMethodInliner
Override this if you want to define your own scoring function for inlining methods.

Overrides:
score in class SmallMethodInliner