duke@435: /* coleenp@4037: * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. duke@435: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. duke@435: * duke@435: * This code is free software; you can redistribute it and/or modify it duke@435: * under the terms of the GNU General Public License version 2 only, as duke@435: * published by the Free Software Foundation. duke@435: * duke@435: * This code is distributed in the hope that it will be useful, but WITHOUT duke@435: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or duke@435: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License duke@435: * version 2 for more details (a copy is included in the LICENSE file that duke@435: * accompanied this code). duke@435: * duke@435: * You should have received a copy of the GNU General Public License version duke@435: * 2 along with this work; if not, write to the Free Software Foundation, duke@435: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. duke@435: * trims@1907: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA trims@1907: * or visit www.oracle.com if you need additional information or have any trims@1907: * questions. duke@435: * duke@435: */ duke@435: stefank@2314: #ifndef SHARE_VM_CI_CICLASSLIST_HPP stefank@2314: #define SHARE_VM_CI_CICLASSLIST_HPP stefank@2314: duke@435: class ciEnv; duke@435: class ciObjectFactory; duke@435: class ciConstantPoolCache; duke@435: duke@435: class ciField; duke@435: class ciConstant; duke@435: class ciFlags; duke@435: class ciExceptionHandler; duke@435: class ciCallProfile; duke@435: class ciSignature; duke@435: duke@435: class ciBytecodeStream; duke@435: class ciSignatureStream; duke@435: class ciExceptionHandlerStream; duke@435: duke@435: class ciTypeFlow; duke@435: coleenp@4037: class ciBaseObject; duke@435: class ciObject; duke@435: class ciNullObject; duke@435: class ciInstance; twisti@1573: class ciCallSite; twisti@3969: class ciMemberName; twisti@1573: class ciMethodHandle; twisti@4133: class ciMethodType; coleenp@4037: class ciArray; coleenp@4037: class ciObjArray; coleenp@4037: class ciTypeArray; coleenp@4037: class ciSymbol; coleenp@4037: class ciMetadata; duke@435: class ciMethod; duke@435: class ciMethodData; duke@435: class ciReceiverTypeData; // part of ciMethodData duke@435: class ciType; duke@435: class ciReturnAddress; duke@435: class ciKlass; duke@435: class ciInstanceKlass; duke@435: class ciArrayKlass; duke@435: class ciObjArrayKlass; duke@435: class ciTypeArrayKlass; duke@435: duke@435: // Simulate Java Language style package-private access with duke@435: // friend declarations. duke@435: // This is a great idea but gcc and other C++ compilers give an duke@435: // error for being friends with yourself, so this macro does not duke@435: // compile on some platforms. duke@435: duke@435: // Everyone gives access to ciObjectFactory duke@435: #define CI_PACKAGE_ACCESS \ never@3138: friend class ciObjectFactory; \ never@3138: friend class VMStructs; duke@435: duke@435: // These are the packages that have access to ciEnv duke@435: // Any more access must be given explicitly. duke@435: #define CI_PACKAGE_ACCESS_TO \ duke@435: friend class ciObjectFactory; \ never@3138: friend class VMStructs; \ twisti@1573: friend class ciCallSite; \ duke@435: friend class ciConstantPoolCache; \ duke@435: friend class ciField; \ duke@435: friend class ciConstant; \ duke@435: friend class ciFlags; \ duke@435: friend class ciExceptionHandler; \ duke@435: friend class ciCallProfile; \ duke@435: friend class ciSignature; \ duke@435: friend class ciBytecodeStream; \ duke@435: friend class ciSignatureStream; \ duke@435: friend class ciExceptionHandlerStream; \ duke@435: friend class ciObject; \ duke@435: friend class ciNullObject; \ duke@435: friend class ciInstance; \ twisti@3969: friend class ciMemberName; \ duke@435: friend class ciMethod; \ duke@435: friend class ciMethodData; \ twisti@1573: friend class ciMethodHandle; \ twisti@4133: friend class ciMethodType; \ duke@435: friend class ciReceiverTypeData; \ duke@435: friend class ciSymbol; \ duke@435: friend class ciArray; \ duke@435: friend class ciObjArray; \ coleenp@4037: friend class ciMetadata; \ minqi@4267: friend class ciReplay; \ duke@435: friend class ciTypeArray; \ duke@435: friend class ciType; \ duke@435: friend class ciReturnAddress; \ duke@435: friend class ciKlass; \ duke@435: friend class ciInstanceKlass; \ duke@435: friend class ciArrayKlass; \ duke@435: friend class ciObjArrayKlass; \ duke@435: friend class ciTypeArrayKlass; \ stefank@2314: stefank@2314: #endif // SHARE_VM_CI_CICLASSLIST_HPP