harpoon.Analysis.TypeInference
Class InterProc
java.lang.Object
harpoon.Analysis.TypeInference.InterProc
- All Implemented Interfaces:
- SetTypeMap
public class InterProc
- extends Object
- implements SetTypeMap
InterProc
- Version:
- $Id: InterProc.java,v 1.3 2004/02/08 01:54:33 cananian Exp $
- Author:
- Darko Marinov <marinov@lcs.mit.edu>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterProc
public InterProc(HCode main,
HCodeFactory hcf)
- Creates an
InterProc
analyzer.
InterProc
public InterProc(HCode main,
ClassHierarchy ch,
HCodeFactory hcf)
setTypeMap
public SetHClass setTypeMap(HCode c,
Temp t)
- Description copied from interface:
SetTypeMap
- Return the concrete type of a given temporary.
- Specified by:
setTypeMap
in interface SetTypeMap
- Parameters:
c
- The HCode
containing t
.t
- The temporary to examine.
- Returns:
- the concrete type of
t
.
getReturnType
public SetHClass getReturnType(HCode c)
calls
public HMethod[] calls(HMethod m)
calls
public HMethod[] calls(HMethod m,
CALL cs,
boolean last)
analyze
public void analyze()