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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_CI_CIFIELD_HPP
26 #define SHARE_VM_CI_CIFIELD_HPP
27
28 #include "ci/ciClassList.hpp"
29 #include "ci/ciConstant.hpp"
30 #include "ci/ciFlags.hpp"
31 #include "ci/ciInstance.hpp"
32
33 // ciField
34 //
35 // This class represents the result of a field lookup in the VM.
36 // The lookup may not succeed, in which case the information in
37 // the ciField will be incomplete.
38 class ciField : public ResourceObj {
39 CI_PACKAGE_ACCESS
40 friend class ciEnv;
41 friend class ciInstanceKlass;
42
43 private:
44 ciFlags _flags;
45 ciInstanceKlass* _holder;
46 ciSymbol* _name;
47 ciSymbol* _signature;
48 ciType* _type;
49 int _offset;
50 bool _is_constant;
51 ciMethod* _known_to_link_with_put;
|
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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_CI_CIFIELD_HPP
26 #define SHARE_VM_CI_CIFIELD_HPP
27
28 #include "ci/ciClassList.hpp"
29 #include "ci/ciConstant.hpp"
30 #include "ci/ciFlags.hpp"
31 #include "ci/ciInstance.hpp"
32 #include "ci/ciUtilities.hpp"
33
34 // ciField
35 //
36 // This class represents the result of a field lookup in the VM.
37 // The lookup may not succeed, in which case the information in
38 // the ciField will be incomplete.
39 class ciField : public ResourceObj {
40 CI_PACKAGE_ACCESS
41 friend class ciEnv;
42 friend class ciInstanceKlass;
43
44 private:
45 ciFlags _flags;
46 ciInstanceKlass* _holder;
47 ciSymbol* _name;
48 ciSymbol* _signature;
49 ciType* _type;
50 int _offset;
51 bool _is_constant;
52 ciMethod* _known_to_link_with_put;
|