75 // error for being friends with yourself, so this macro does not |
75 // error for being friends with yourself, so this macro does not |
76 // compile on some platforms. |
76 // compile on some platforms. |
77 |
77 |
78 // Everyone gives access to ciObjectFactory |
78 // Everyone gives access to ciObjectFactory |
79 #define CI_PACKAGE_ACCESS \ |
79 #define CI_PACKAGE_ACCESS \ |
80 friend class ciObjectFactory; |
80 friend class ciObjectFactory; \ |
|
81 friend class VMStructs; |
81 |
82 |
82 // These are the packages that have access to ciEnv |
83 // These are the packages that have access to ciEnv |
83 // Any more access must be given explicitly. |
84 // Any more access must be given explicitly. |
84 #define CI_PACKAGE_ACCESS_TO \ |
85 #define CI_PACKAGE_ACCESS_TO \ |
85 friend class ciObjectFactory; \ |
86 friend class ciObjectFactory; \ |
|
87 friend class VMStructs; \ |
86 friend class ciCallSite; \ |
88 friend class ciCallSite; \ |
87 friend class ciConstantPoolCache; \ |
89 friend class ciConstantPoolCache; \ |
88 friend class ciField; \ |
90 friend class ciField; \ |
89 friend class ciConstant; \ |
91 friend class ciConstant; \ |
90 friend class ciCPCache; \ |
92 friend class ciCPCache; \ |