Mercurial > hg > truffle
diff src/share/vm/utilities/globalDefinitions.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 | a83b0246bb77 |
children | 06f017f7daa7 0fa27f37d4d4 |
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp Tue Nov 23 15:01:43 2010 -0500 +++ b/src/share/vm/utilities/globalDefinitions.hpp Tue Nov 23 13:22:55 2010 -0800 @@ -22,6 +22,21 @@ * */ +#ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP +#define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP + +#ifdef TARGET_COMPILER_gcc +# include "utilities/globalDefinitions_gcc.hpp" +#endif +#ifdef TARGET_COMPILER_visCPP +# include "utilities/globalDefinitions_visCPP.hpp" +#endif +#ifdef TARGET_COMPILER_sparcWorks +# include "utilities/globalDefinitions_sparcWorks.hpp" +#endif + +#include "utilities/macros.hpp" + // This file holds all globally used constants & types, class (forward) // declarations and a few frequently used utility functions. @@ -304,7 +319,16 @@ // Machine dependent stuff -#include "incls/_globalDefinitions_pd.hpp.incl" +#ifdef TARGET_ARCH_x86 +# include "globalDefinitions_x86.hpp" +#endif +#ifdef TARGET_ARCH_sparc +# include "globalDefinitions_sparc.hpp" +#endif +#ifdef TARGET_ARCH_zero +# include "globalDefinitions_zero.hpp" +#endif + // The byte alignment to be used by Arena::Amalloc. See bugid 4169348. // Note: this value must be a power of 2 @@ -1217,3 +1241,5 @@ # endif /* ASSERT */ #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) + +#endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP