harpoon.Analysis.PointerAnalysis
Class AllocationNumbering
java.lang.Object
|
+--harpoon.Analysis.PointerAnalysis.AllocationNumbering
- All Implemented Interfaces:
- Serializable
- public class AllocationNumbering
- extends Object
- implements Serializable
AllocationNumbering
- Version:
- $Id: AllocationNumbering.java,v 1.2 2002/02/25 20:58:38 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- Serialized Form
Method Summary |
int |
allocID(Quad q)
Return an integer identifying this allocation site. |
int |
callID(Quad q)
Return an integer identifying this allocation site. |
HCodeFactory |
codeFactory()
Return the (caching) code factory this numbering was created on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
alloc2int
public final Map alloc2int
call2int
public final Map call2int
AllocationNumbering
public AllocationNumbering(HCodeFactory hcf,
ClassHierarchy ch,
boolean callSites)
- Creates a
AllocationNumbering
.
codeFactory
public HCodeFactory codeFactory()
- Return the (caching) code factory this numbering was created on.
allocID
public int allocID(Quad q)
- Return an integer identifying this allocation site.
callID
public int callID(Quad q)
- Return an integer identifying this allocation site.