src/share/vm/ci/ciClassList.hpp

changeset 435
a61af66fc99e
child 1572
97125851f396
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/share/vm/ci/ciClassList.hpp	Sat Dec 01 00:00:00 2007 +0000
     1.3 @@ -0,0 +1,114 @@
     1.4 +/*
     1.5 + * Copyright 1999-2007 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 + *
     1.8 + * This code is free software; you can redistribute it and/or modify it
     1.9 + * under the terms of the GNU General Public License version 2 only, as
    1.10 + * published by the Free Software Foundation.
    1.11 + *
    1.12 + * This code is distributed in the hope that it will be useful, but WITHOUT
    1.13 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.14 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.15 + * version 2 for more details (a copy is included in the LICENSE file that
    1.16 + * accompanied this code).
    1.17 + *
    1.18 + * You should have received a copy of the GNU General Public License version
    1.19 + * 2 along with this work; if not, write to the Free Software Foundation,
    1.20 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.21 + *
    1.22 + * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    1.23 + * CA 95054 USA or visit www.sun.com if you need additional information or
    1.24 + * have any questions.
    1.25 + *
    1.26 + */
    1.27 +
    1.28 +class ciEnv;
    1.29 +class ciObjectFactory;
    1.30 +class ciConstantPoolCache;
    1.31 +
    1.32 +class ciField;
    1.33 +class ciConstant;
    1.34 +class ciFlags;
    1.35 +class ciExceptionHandler;
    1.36 +class ciCallProfile;
    1.37 +class ciSignature;
    1.38 +
    1.39 +class ciBytecodeStream;
    1.40 +class ciSignatureStream;
    1.41 +class ciExceptionHandlerStream;
    1.42 +
    1.43 +class ciTypeFlow;
    1.44 +
    1.45 +class ciObject;
    1.46 +class   ciNullObject;
    1.47 +class   ciInstance;
    1.48 +class   ciMethod;
    1.49 +class   ciMethodData;
    1.50 +class     ciReceiverTypeData;  // part of ciMethodData
    1.51 +class   ciSymbol;
    1.52 +class   ciArray;
    1.53 +class     ciObjArray;
    1.54 +class     ciTypeArray;
    1.55 +class   ciType;
    1.56 +class    ciReturnAddress;
    1.57 +class    ciKlass;
    1.58 +class     ciInstanceKlass;
    1.59 +class     ciMethodKlass;
    1.60 +class     ciSymbolKlass;
    1.61 +class     ciArrayKlass;
    1.62 +class       ciObjArrayKlass;
    1.63 +class       ciTypeArrayKlass;
    1.64 +class     ciKlassKlass;
    1.65 +class       ciInstanceKlassKlass;
    1.66 +class       ciArrayKlassKlass;
    1.67 +class         ciObjArrayKlassKlass;
    1.68 +class         ciTypeArrayKlassKlass;
    1.69 +
    1.70 +// Simulate Java Language style package-private access with
    1.71 +// friend declarations.
    1.72 +// This is a great idea but gcc and other C++ compilers give an
    1.73 +// error for being friends with yourself, so this macro does not
    1.74 +// compile on some platforms.
    1.75 +
    1.76 +// Everyone gives access to ciObjectFactory
    1.77 +#define CI_PACKAGE_ACCESS \
    1.78 +friend class ciObjectFactory;
    1.79 +
    1.80 +// These are the packages that have access to ciEnv
    1.81 +// Any more access must be given explicitly.
    1.82 +#define CI_PACKAGE_ACCESS_TO           \
    1.83 +friend class ciObjectFactory;          \
    1.84 +friend class ciConstantPoolCache;      \
    1.85 +friend class ciField;                  \
    1.86 +friend class ciConstant;               \
    1.87 +friend class ciFlags;                  \
    1.88 +friend class ciExceptionHandler;       \
    1.89 +friend class ciCallProfile;            \
    1.90 +friend class ciSignature;              \
    1.91 +friend class ciBytecodeStream;         \
    1.92 +friend class ciSignatureStream;        \
    1.93 +friend class ciExceptionHandlerStream; \
    1.94 +friend class ciObject;                 \
    1.95 +friend class ciNullObject;             \
    1.96 +friend class ciInstance;               \
    1.97 +friend class ciMethod;                 \
    1.98 +friend class ciMethodData;             \
    1.99 +friend class ciReceiverTypeData;       \
   1.100 +friend class ciSymbol;                 \
   1.101 +friend class ciArray;                  \
   1.102 +friend class ciObjArray;               \
   1.103 +friend class ciTypeArray;              \
   1.104 +friend class ciType;                   \
   1.105 +friend class ciReturnAddress;          \
   1.106 +friend class ciKlass;                  \
   1.107 +friend class ciInstanceKlass;          \
   1.108 +friend class ciMethodKlass;            \
   1.109 +friend class ciSymbolKlass;            \
   1.110 +friend class ciArrayKlass;             \
   1.111 +friend class ciObjArrayKlass;          \
   1.112 +friend class ciTypeArrayKlass;         \
   1.113 +friend class ciKlassKlass;             \
   1.114 +friend class ciInstanceKlassKlass;     \
   1.115 +friend class ciArrayKlassKlass;        \
   1.116 +friend class ciObjArrayKlassKlass;     \
   1.117 +friend class ciTypeArrayKlassKlass;

mercurial