author | jrose |
Fri, 16 Jul 2010 18:14:19 -0700 | |
changeset 6064 | 71e316283a85 |
parent 5882 | 6b2aecc4f7d8 |
child 7397 | 5b173b4ca846 |
permissions | -rw-r--r-- |
1 | 1 |
/* |
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4567
diff
changeset
|
2 |
* Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. |
1 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4567
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4567
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4567
diff
changeset
|
21 |
* questions. |
1 | 22 |
* |
23 |
*/ |
|
24 |
||
25 |
class ciEnv; |
|
26 |
class ciObjectFactory; |
|
27 |
class ciConstantPoolCache; |
|
4566 | 28 |
class ciCPCache; |
1 | 29 |
|
30 |
class ciField; |
|
31 |
class ciConstant; |
|
32 |
class ciFlags; |
|
33 |
class ciExceptionHandler; |
|
34 |
class ciCallProfile; |
|
35 |
class ciSignature; |
|
36 |
||
37 |
class ciBytecodeStream; |
|
38 |
class ciSignatureStream; |
|
39 |
class ciExceptionHandlerStream; |
|
40 |
||
41 |
class ciTypeFlow; |
|
42 |
||
43 |
class ciObject; |
|
44 |
class ciNullObject; |
|
45 |
class ciInstance; |
|
4567
7fc02fbe5c7a
6893268: additional dynamic language related optimizations in C2
twisti
parents:
4566
diff
changeset
|
46 |
class ciCallSite; |
7fc02fbe5c7a
6893268: additional dynamic language related optimizations in C2
twisti
parents:
4566
diff
changeset
|
47 |
class ciMethodHandle; |
1 | 48 |
class ciMethod; |
49 |
class ciMethodData; |
|
50 |
class ciReceiverTypeData; // part of ciMethodData |
|
51 |
class ciSymbol; |
|
52 |
class ciArray; |
|
53 |
class ciObjArray; |
|
54 |
class ciTypeArray; |
|
55 |
class ciType; |
|
56 |
class ciReturnAddress; |
|
57 |
class ciKlass; |
|
58 |
class ciInstanceKlass; |
|
59 |
class ciMethodKlass; |
|
60 |
class ciSymbolKlass; |
|
61 |
class ciArrayKlass; |
|
62 |
class ciObjArrayKlass; |
|
63 |
class ciTypeArrayKlass; |
|
64 |
class ciKlassKlass; |
|
65 |
class ciInstanceKlassKlass; |
|
66 |
class ciArrayKlassKlass; |
|
67 |
class ciObjArrayKlassKlass; |
|
68 |
class ciTypeArrayKlassKlass; |
|
69 |
||
70 |
// Simulate Java Language style package-private access with |
|
71 |
// friend declarations. |
|
72 |
// This is a great idea but gcc and other C++ compilers give an |
|
73 |
// error for being friends with yourself, so this macro does not |
|
74 |
// compile on some platforms. |
|
75 |
||
76 |
// Everyone gives access to ciObjectFactory |
|
77 |
#define CI_PACKAGE_ACCESS \ |
|
78 |
friend class ciObjectFactory; |
|
79 |
||
80 |
// These are the packages that have access to ciEnv |
|
81 |
// Any more access must be given explicitly. |
|
82 |
#define CI_PACKAGE_ACCESS_TO \ |
|
83 |
friend class ciObjectFactory; \ |
|
4567
7fc02fbe5c7a
6893268: additional dynamic language related optimizations in C2
twisti
parents:
4566
diff
changeset
|
84 |
friend class ciCallSite; \ |
1 | 85 |
friend class ciConstantPoolCache; \ |
86 |
friend class ciField; \ |
|
87 |
friend class ciConstant; \ |
|
5882 | 88 |
friend class ciCPCache; \ |
1 | 89 |
friend class ciFlags; \ |
90 |
friend class ciExceptionHandler; \ |
|
91 |
friend class ciCallProfile; \ |
|
92 |
friend class ciSignature; \ |
|
93 |
friend class ciBytecodeStream; \ |
|
94 |
friend class ciSignatureStream; \ |
|
95 |
friend class ciExceptionHandlerStream; \ |
|
96 |
friend class ciObject; \ |
|
97 |
friend class ciNullObject; \ |
|
98 |
friend class ciInstance; \ |
|
99 |
friend class ciMethod; \ |
|
100 |
friend class ciMethodData; \ |
|
4567
7fc02fbe5c7a
6893268: additional dynamic language related optimizations in C2
twisti
parents:
4566
diff
changeset
|
101 |
friend class ciMethodHandle; \ |
1 | 102 |
friend class ciReceiverTypeData; \ |
103 |
friend class ciSymbol; \ |
|
104 |
friend class ciArray; \ |
|
105 |
friend class ciObjArray; \ |
|
106 |
friend class ciTypeArray; \ |
|
107 |
friend class ciType; \ |
|
108 |
friend class ciReturnAddress; \ |
|
109 |
friend class ciKlass; \ |
|
110 |
friend class ciInstanceKlass; \ |
|
111 |
friend class ciMethodKlass; \ |
|
112 |
friend class ciSymbolKlass; \ |
|
113 |
friend class ciArrayKlass; \ |
|
114 |
friend class ciObjArrayKlass; \ |
|
115 |
friend class ciTypeArrayKlass; \ |
|
116 |
friend class ciKlassKlass; \ |
|
117 |
friend class ciInstanceKlassKlass; \ |
|
118 |
friend class ciArrayKlassKlass; \ |
|
119 |
friend class ciObjArrayKlassKlass; \ |
|
120 |
friend class ciTypeArrayKlassKlass; |