Print this page
rev 1025 : imported patch indy.compiler.patch
rev 1026 : imported patch indy.compiler.inline.patch
Split |
Close |
Expand all |
Collapse all |
--- old/src/share/vm/ci/ciClassList.hpp
+++ new/src/share/vm/ci/ciClassList.hpp
1 1 /*
2 2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.
3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 4 *
5 5 * This code is free software; you can redistribute it and/or modify it
6 6 * under the terms of the GNU General Public License version 2 only, as
7 7 * published by the Free Software Foundation.
8 8 *
9 9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 12 * version 2 for more details (a copy is included in the LICENSE file that
13 13 * accompanied this code).
14 14 *
15 15 * You should have received a copy of the GNU General Public License version
16 16 * 2 along with this work; if not, write to the Free Software Foundation,
17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 18 *
19 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 21 * have any questions.
22 22 *
23 23 */
24 24
25 25 class ciEnv;
26 26 class ciObjectFactory;
27 27 class ciConstantPoolCache;
28 28 class ciCPCache;
29 29
30 30 class ciField;
31 31 class ciConstant;
32 32 class ciFlags;
33 33 class ciExceptionHandler;
34 34 class ciCallProfile;
35 35 class ciSignature;
↓ open down ↓ |
35 lines elided |
↑ open up ↑ |
36 36
37 37 class ciBytecodeStream;
38 38 class ciSignatureStream;
39 39 class ciExceptionHandlerStream;
40 40
41 41 class ciTypeFlow;
42 42
43 43 class ciObject;
44 44 class ciNullObject;
45 45 class ciInstance;
46 +class ciCallSite;
47 +class ciMethodHandle;
46 48 class ciMethod;
47 49 class ciMethodData;
48 50 class ciReceiverTypeData; // part of ciMethodData
49 51 class ciSymbol;
50 52 class ciArray;
51 53 class ciObjArray;
52 54 class ciTypeArray;
53 55 class ciType;
54 56 class ciReturnAddress;
55 57 class ciKlass;
56 58 class ciInstanceKlass;
57 59 class ciMethodKlass;
58 60 class ciSymbolKlass;
59 61 class ciArrayKlass;
60 62 class ciObjArrayKlass;
61 63 class ciTypeArrayKlass;
62 64 class ciKlassKlass;
63 65 class ciInstanceKlassKlass;
64 66 class ciArrayKlassKlass;
65 67 class ciObjArrayKlassKlass;
66 68 class ciTypeArrayKlassKlass;
67 69
68 70 // Simulate Java Language style package-private access with
69 71 // friend declarations.
70 72 // This is a great idea but gcc and other C++ compilers give an
71 73 // error for being friends with yourself, so this macro does not
↓ open down ↓ |
16 lines elided |
↑ open up ↑ |
72 74 // compile on some platforms.
73 75
74 76 // Everyone gives access to ciObjectFactory
75 77 #define CI_PACKAGE_ACCESS \
76 78 friend class ciObjectFactory;
77 79
78 80 // These are the packages that have access to ciEnv
79 81 // Any more access must be given explicitly.
80 82 #define CI_PACKAGE_ACCESS_TO \
81 83 friend class ciObjectFactory; \
84 +friend class ciCallSite; \
82 85 friend class ciConstantPoolCache; \
83 86 friend class ciField; \
84 87 friend class ciConstant; \
85 88 friend class ciFlags; \
86 89 friend class ciExceptionHandler; \
87 90 friend class ciCallProfile; \
88 91 friend class ciSignature; \
89 92 friend class ciBytecodeStream; \
90 93 friend class ciSignatureStream; \
91 94 friend class ciExceptionHandlerStream; \
92 95 friend class ciObject; \
93 96 friend class ciNullObject; \
94 97 friend class ciInstance; \
95 98 friend class ciMethod; \
96 99 friend class ciMethodData; \
100 +friend class ciMethodHandle; \
97 101 friend class ciReceiverTypeData; \
98 102 friend class ciSymbol; \
99 103 friend class ciArray; \
100 104 friend class ciObjArray; \
101 105 friend class ciTypeArray; \
102 106 friend class ciType; \
103 107 friend class ciReturnAddress; \
104 108 friend class ciKlass; \
105 109 friend class ciInstanceKlass; \
106 110 friend class ciMethodKlass; \
107 111 friend class ciSymbolKlass; \
108 112 friend class ciArrayKlass; \
109 113 friend class ciObjArrayKlass; \
110 114 friend class ciTypeArrayKlass; \
111 115 friend class ciKlassKlass; \
112 116 friend class ciInstanceKlassKlass; \
113 117 friend class ciArrayKlassKlass; \
114 118 friend class ciObjArrayKlassKlass; \
115 119 friend class ciTypeArrayKlassKlass;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX