< prev index next >

src/share/vm/code/relocInfo.hpp

Print this page
rev 11647 : 8161258: Simplify including platform files.
Summary: Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett

*** 25,34 **** --- 25,35 ---- #ifndef SHARE_VM_CODE_RELOCINFO_HPP #define SHARE_VM_CODE_RELOCINFO_HPP #include "memory/allocation.hpp" #include "runtime/os.hpp" + #include "utilities/macros.hpp" class nmethod; class CompiledMethod; class Metadata; class NativeMovConstReg;
*** 421,448 **** // Both methods takes old_type, so it is able to performe sanity checks on the information removed. static void change_reloc_info_for_address(RelocIterator *itr, address pc, relocType old_type, relocType new_type); static void remove_reloc_info_for_address(RelocIterator *itr, address pc, relocType old_type); // Machine dependent stuff ! #ifdef TARGET_ARCH_x86 ! # include "relocInfo_x86.hpp" ! #endif ! #ifdef TARGET_ARCH_sparc ! # include "relocInfo_sparc.hpp" ! #endif ! #ifdef TARGET_ARCH_zero ! # include "relocInfo_zero.hpp" ! #endif ! #ifdef TARGET_ARCH_arm ! # include "relocInfo_arm.hpp" ! #endif ! #ifdef TARGET_ARCH_ppc ! # include "relocInfo_ppc.hpp" ! #endif ! #ifdef TARGET_ARCH_aarch64 ! # include "relocInfo_aarch64.hpp" ! #endif protected: // Derived constant, based on format_width which is PD: enum { offset_width = nontype_width - format_width, --- 422,432 ---- // Both methods takes old_type, so it is able to performe sanity checks on the information removed. static void change_reloc_info_for_address(RelocIterator *itr, address pc, relocType old_type, relocType new_type); static void remove_reloc_info_for_address(RelocIterator *itr, address pc, relocType old_type); // Machine dependent stuff ! #include CPU_HEADER(relocInfo) protected: // Derived constant, based on format_width which is PD: enum { offset_width = nontype_width - format_width,
< prev index next >