1.1 --- a/src/share/vm/code/relocInfo.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/code/relocInfo.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,12 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_CODE_RELOCINFO_HPP 1.8 +#define SHARE_VM_CODE_RELOCINFO_HPP 1.9 + 1.10 +#include "memory/allocation.hpp" 1.11 +#include "utilities/top.hpp" 1.12 + 1.13 // Types in this file: 1.14 // relocInfo 1.15 // One element of an array of halfwords encoding compressed relocations. 1.16 @@ -415,7 +421,16 @@ 1.17 static void remove_reloc_info_for_address(RelocIterator *itr, address pc, relocType old_type); 1.18 1.19 // Machine dependent stuff 1.20 - #include "incls/_relocInfo_pd.hpp.incl" 1.21 +#ifdef TARGET_ARCH_x86 1.22 +# include "relocInfo_x86.hpp" 1.23 +#endif 1.24 +#ifdef TARGET_ARCH_sparc 1.25 +# include "relocInfo_sparc.hpp" 1.26 +#endif 1.27 +#ifdef TARGET_ARCH_zero 1.28 +# include "relocInfo_zero.hpp" 1.29 +#endif 1.30 + 1.31 1.32 protected: 1.33 // Derived constant, based on format_width which is PD: 1.34 @@ -1325,3 +1340,5 @@ 1.35 1.36 ~PatchingRelocIterator() { postpass(); } 1.37 }; 1.38 + 1.39 +#endif // SHARE_VM_CODE_RELOCINFO_HPP