Tue, 11 May 2010 14:35:43 -0700
6931180: Migration to recent versions of MS Platform SDK
6951582: Build problems on win64
Summary: Changes to enable building JDK7 with Microsoft Visual Studio 2010
Reviewed-by: ohair, art, ccheung, dcubed
1 /*
2 * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.
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 *
19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
23 */
25 class ciEnv;
26 class ciObjectFactory;
27 class ciConstantPoolCache;
28 class ciCPCache;
30 class ciField;
31 class ciConstant;
32 class ciFlags;
33 class ciExceptionHandler;
34 class ciCallProfile;
35 class ciSignature;
37 class ciBytecodeStream;
38 class ciSignatureStream;
39 class ciExceptionHandlerStream;
41 class ciTypeFlow;
43 class ciObject;
44 class ciNullObject;
45 class ciInstance;
46 class ciCallSite;
47 class ciMethodHandle;
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;
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.
76 // Everyone gives access to ciObjectFactory
77 #define CI_PACKAGE_ACCESS \
78 friend class ciObjectFactory;
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; \
84 friend class ciCallSite; \
85 friend class ciConstantPoolCache; \
86 friend class ciField; \
87 friend class ciConstant; \
88 friend class ciFlags; \
89 friend class ciExceptionHandler; \
90 friend class ciCallProfile; \
91 friend class ciSignature; \
92 friend class ciBytecodeStream; \
93 friend class ciSignatureStream; \
94 friend class ciExceptionHandlerStream; \
95 friend class ciObject; \
96 friend class ciNullObject; \
97 friend class ciInstance; \
98 friend class ciMethod; \
99 friend class ciMethodData; \
100 friend class ciMethodHandle; \
101 friend class ciReceiverTypeData; \
102 friend class ciSymbol; \
103 friend class ciArray; \
104 friend class ciObjArray; \
105 friend class ciTypeArray; \
106 friend class ciType; \
107 friend class ciReturnAddress; \
108 friend class ciKlass; \
109 friend class ciInstanceKlass; \
110 friend class ciMethodKlass; \
111 friend class ciSymbolKlass; \
112 friend class ciArrayKlass; \
113 friend class ciObjArrayKlass; \
114 friend class ciTypeArrayKlass; \
115 friend class ciKlassKlass; \
116 friend class ciInstanceKlassKlass; \
117 friend class ciArrayKlassKlass; \
118 friend class ciObjArrayKlassKlass; \
119 friend class ciTypeArrayKlassKlass;