Added: xtainfo, xtafldinfo structures
authortwisti <none@none>
Mon, 28 Mar 2005 22:44:17 +0000 (22:44 +0000)
committertwisti <none@none>
Mon, 28 Mar 2005 22:44:17 +0000 (22:44 +0000)
src/vm/jit/inline/parseXTA.h

index ebd6d3f3dd0fb0024bd9a68529269847f40d088b..8ec602581cb9799a828b367800147ba1514f2f9b 100644 (file)
 
    Authors: Carolyn Oates
 
-   $Id: parseXTA.h 1881 2005-01-21 13:46:51Z carolyn $
+   $Id: parseXTA.h 2106 2005-03-28 22:44:17Z twisti $
 
 */
 
 #ifndef _PARSEXTA_H
 #define _PARSEXTA_H
 
+/* forward typedefs ***********************************************************/
+
+typedef struct xtainfo xtainfo;
+typedef        struct xtafldinfo xtafldinfo;
+
+
 #include "vm/global.h"
+#include "vm/jit/inline/sets.h"
+
+
+/* methodinfo static info *****************************************************/
+
+struct xtainfo {
+       s4          XTAmethodUsed;     /* XTA if used in callgraph - not used /used */
+       classSet    *XTAclassSet;      /* method class type set                 */ 
+       /*classSet      *PartClassSet */   /* method class type set                 */ 
+
+       classSetNode    *paramClassSet; /* cone set of methods parameters       */
+       
+       /* Needed for interative checking */
+       methSet         *calls;            /* Edges - methods this method calls                 */ 
+       methSet         *calledBy;         /* Edges - methods that call this method         */ 
+       methSet         *markedBy;  
+       fldSet          *fldsUsed;         /* fields used by this method             */ 
+       /*methSetNode  *interfaceCalls*/   /* methods this method calls as interface */ 
+       bool           chgdSinceLastParse; /* Changed since last parse ?          */
+}; 
+
+
+/* field, method and class structures *****************************************/
+
+struct xtafldinfo {
+       bool       fieldChecked;                
+       classinfo *fldClassType;
+       classSet  *XTAclassSet;          /* field class type set                  */
+};
 
 
 extern FILE *xtaMissed;  /* Methods missed during XTA parse of Main  */