Mercurial > hg > truffle
comparison src/os_cpu/bsd_zero/vm/vmStructs_bsd_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 | f08d439fab8c |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
7582:aefb345d3f5e | 7583:91bf7da5c609 |
---|---|
28 | 28 |
29 // These are the OS and CPU-specific fields, types and integer | 29 // These are the OS and 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_OS_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_OS_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 /* This must be the last entry, and must be present */ \ | |
35 last_entry() | |
36 | 34 |
37 | 35 |
38 #define VM_TYPES_OS_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) \ | 36 #define VM_TYPES_OS_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) |
39 /* This must be the last entry, and must be present */ \ | |
40 last_entry() | |
41 | 37 |
42 #define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \ | 38 #define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
43 /* This must be the last entry, and must be present */ \ | |
44 last_entry() | |
45 | 39 |
46 #define VM_LONG_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \ | 40 #define VM_LONG_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
47 /* This must be the last entry, and must be present */ \ | |
48 last_entry() | |
49 | 41 |
50 #endif // OS_CPU_BSD_ZERO_VM_VMSTRUCTS_BSD_ZERO_HPP | 42 #endif // OS_CPU_BSD_ZERO_VM_VMSTRUCTS_BSD_ZERO_HPP |