comparison src/cpu/zero/vm/vmStructs_zero.hpp @ 7583:91bf7da5c609

8004747: Remove last_entry from VM_STRUCT macros Summary: Instead of passing in last_entry to all the VM_ macros just expand it in the main vmStructs.cpp file. Reviewed-by: dholmes, sspitsyn, minqi
author mikael
date Thu, 10 Jan 2013 17:06:26 -0800
parents f95d63e2154a
children de6a9e811145
comparison
equal deleted inserted replaced
7582:aefb345d3f5e 7583:91bf7da5c609
28 28
29 // These are the CPU-specific fields, types and integer 29 // These are the CPU-specific fields, types and integer
30 // constants required by the Serviceability Agent. This file is 30 // constants required by the Serviceability Agent. This file is
31 // referenced by vmStructs.cpp. 31 // referenced by vmStructs.cpp.
32 32
33 #define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field, last_entry) \ 33 #define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field)
34 34
35 /* NOTE that we do not use the last_entry() macro here; it is used */ 35 #define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type)
36 /* in vmStructs_<os>_<cpu>.hpp's VM_STRUCTS_OS_CPU macro (and must */
37 /* be present there) */
38 36
39 #define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type, last_entry) \ 37 #define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant)
40 38
41 /* NOTE that we do not use the last_entry() macro here; it is used */ 39 #define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant)
42 /* in vmStructs_<os>_<cpu>.hpp's VM_TYPES_OS_CPU macro (and must */
43 /* be present there) */
44
45 #define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \
46
47 /* NOTE that we do not use the last_entry() macro here; it is used */
48 /* in vmStructs_<os>_<cpu>.hpp's VM_INT_CONSTANTS_OS_CPU macro (and must */
49 /* be present there) */
50
51 #define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \
52
53 /* NOTE that we do not use the last_entry() macro here; it is used */
54 /* in vmStructs_<os>_<cpu>.hpp's VM_LONG_CONSTANTS_OS_CPU macro (and must */
55 /* be present there) */
56 40
57 #endif // CPU_ZERO_VM_VMSTRUCTS_ZERO_HPP 41 #endif // CPU_ZERO_VM_VMSTRUCTS_ZERO_HPP