comparison src/share/vm/c1/c1_Defs.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents c18cbe5936b8
children b92c45f2bc75
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
1 /* 1 /*
2 * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 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 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef SHARE_VM_C1_C1_DEFS_HPP
26 #define SHARE_VM_C1_C1_DEFS_HPP
27
28 #include "utilities/globalDefinitions.hpp"
29 #ifdef TARGET_ARCH_x86
30 # include "register_x86.hpp"
31 #endif
32 #ifdef TARGET_ARCH_sparc
33 # include "register_sparc.hpp"
34 #endif
35 #ifdef TARGET_ARCH_zero
36 # include "register_zero.hpp"
37 #endif
38
25 // set frame size and return address offset to these values in blobs 39 // set frame size and return address offset to these values in blobs
26 // (if the compiled frame uses ebp as link pointer on IA; otherwise, 40 // (if the compiled frame uses ebp as link pointer on IA; otherwise,
27 // the frame size must be fixed) 41 // the frame size must be fixed)
28 enum { 42 enum {
29 no_frame_size = -1 43 no_frame_size = -1
30 }; 44 };
31 45
32 46
33 # include "incls/_c1_Defs_pd.hpp.incl" 47 #ifdef TARGET_ARCH_x86
48 # include "c1_Defs_x86.hpp"
49 #endif
50 #ifdef TARGET_ARCH_sparc
51 # include "c1_Defs_sparc.hpp"
52 #endif
53
34 54
35 // native word offsets from memory address 55 // native word offsets from memory address
36 enum { 56 enum {
37 lo_word_offset_in_bytes = pd_lo_word_offset_in_bytes, 57 lo_word_offset_in_bytes = pd_lo_word_offset_in_bytes,
38 hi_word_offset_in_bytes = pd_hi_word_offset_in_bytes 58 hi_word_offset_in_bytes = pd_hi_word_offset_in_bytes
47 67
48 // for debug info: a float value in a register may be saved in double precision by runtime stubs 68 // for debug info: a float value in a register may be saved in double precision by runtime stubs
49 enum { 69 enum {
50 float_saved_as_double = pd_float_saved_as_double 70 float_saved_as_double = pd_float_saved_as_double
51 }; 71 };
72
73 #endif // SHARE_VM_C1_C1_DEFS_HPP