src/share/vm/ci/ciClassList.hpp

Sat, 01 Dec 2007 00:00:00 +0000

author
duke
date
Sat, 01 Dec 2007 00:00:00 +0000
changeset 435
a61af66fc99e
child 1572
97125851f396
permissions
-rw-r--r--

Initial load

     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;
    29 class ciField;
    30 class ciConstant;
    31 class ciFlags;
    32 class ciExceptionHandler;
    33 class ciCallProfile;
    34 class ciSignature;
    36 class ciBytecodeStream;
    37 class ciSignatureStream;
    38 class ciExceptionHandlerStream;
    40 class ciTypeFlow;
    42 class ciObject;
    43 class   ciNullObject;
    44 class   ciInstance;
    45 class   ciMethod;
    46 class   ciMethodData;
    47 class     ciReceiverTypeData;  // part of ciMethodData
    48 class   ciSymbol;
    49 class   ciArray;
    50 class     ciObjArray;
    51 class     ciTypeArray;
    52 class   ciType;
    53 class    ciReturnAddress;
    54 class    ciKlass;
    55 class     ciInstanceKlass;
    56 class     ciMethodKlass;
    57 class     ciSymbolKlass;
    58 class     ciArrayKlass;
    59 class       ciObjArrayKlass;
    60 class       ciTypeArrayKlass;
    61 class     ciKlassKlass;
    62 class       ciInstanceKlassKlass;
    63 class       ciArrayKlassKlass;
    64 class         ciObjArrayKlassKlass;
    65 class         ciTypeArrayKlassKlass;
    67 // Simulate Java Language style package-private access with
    68 // friend declarations.
    69 // This is a great idea but gcc and other C++ compilers give an
    70 // error for being friends with yourself, so this macro does not
    71 // compile on some platforms.
    73 // Everyone gives access to ciObjectFactory
    74 #define CI_PACKAGE_ACCESS \
    75 friend class ciObjectFactory;
    77 // These are the packages that have access to ciEnv
    78 // Any more access must be given explicitly.
    79 #define CI_PACKAGE_ACCESS_TO           \
    80 friend class ciObjectFactory;          \
    81 friend class ciConstantPoolCache;      \
    82 friend class ciField;                  \
    83 friend class ciConstant;               \
    84 friend class ciFlags;                  \
    85 friend class ciExceptionHandler;       \
    86 friend class ciCallProfile;            \
    87 friend class ciSignature;              \
    88 friend class ciBytecodeStream;         \
    89 friend class ciSignatureStream;        \
    90 friend class ciExceptionHandlerStream; \
    91 friend class ciObject;                 \
    92 friend class ciNullObject;             \
    93 friend class ciInstance;               \
    94 friend class ciMethod;                 \
    95 friend class ciMethodData;             \
    96 friend class ciReceiverTypeData;       \
    97 friend class ciSymbol;                 \
    98 friend class ciArray;                  \
    99 friend class ciObjArray;               \
   100 friend class ciTypeArray;              \
   101 friend class ciType;                   \
   102 friend class ciReturnAddress;          \
   103 friend class ciKlass;                  \
   104 friend class ciInstanceKlass;          \
   105 friend class ciMethodKlass;            \
   106 friend class ciSymbolKlass;            \
   107 friend class ciArrayKlass;             \
   108 friend class ciObjArrayKlass;          \
   109 friend class ciTypeArrayKlass;         \
   110 friend class ciKlassKlass;             \
   111 friend class ciInstanceKlassKlass;     \
   112 friend class ciArrayKlassKlass;        \
   113 friend class ciObjArrayKlassKlass;     \
   114 friend class ciTypeArrayKlassKlass;

mercurial