7061187: need some includes for arm/ppc
authorjcoomes
Wed, 06 Jul 2011 12:03:01 -0700
changeset 10019 6ea76c84109f
parent 10003 06c862a55fa4
child 10020 9325b4244ec4
7061187: need some includes for arm/ppc Reviewed-by: dholmes, never, jwilhelm, kvn
hotspot/src/share/vm/opto/lcm.cpp
hotspot/src/share/vm/opto/matcher.cpp
hotspot/src/share/vm/runtime/atomic.cpp
--- a/hotspot/src/share/vm/opto/lcm.cpp	Wed Jul 06 08:43:01 2011 -0700
+++ b/hotspot/src/share/vm/opto/lcm.cpp	Wed Jul 06 12:03:01 2011 -0700
@@ -45,6 +45,9 @@
 #ifdef TARGET_ARCH_MODEL_arm
 # include "adfiles/ad_arm.hpp"
 #endif
+#ifdef TARGET_ARCH_MODEL_ppc
+# include "adfiles/ad_ppc.hpp"
+#endif
 
 // Optimization - Graph Style
 
--- a/hotspot/src/share/vm/opto/matcher.cpp	Wed Jul 06 08:43:01 2011 -0700
+++ b/hotspot/src/share/vm/opto/matcher.cpp	Wed Jul 06 12:03:01 2011 -0700
@@ -52,6 +52,9 @@
 #ifdef TARGET_ARCH_MODEL_arm
 # include "adfiles/ad_arm.hpp"
 #endif
+#ifdef TARGET_ARCH_MODEL_ppc
+# include "adfiles/ad_ppc.hpp"
+#endif
 
 OptoReg::Name OptoReg::c_frame_pointer;
 
--- a/hotspot/src/share/vm/runtime/atomic.cpp	Wed Jul 06 08:43:01 2011 -0700
+++ b/hotspot/src/share/vm/runtime/atomic.cpp	Wed Jul 06 12:03:01 2011 -0700
@@ -51,6 +51,12 @@
 #ifdef TARGET_OS_ARCH_windows_x86
 # include "atomic_windows_x86.inline.hpp"
 #endif
+#ifdef TARGET_OS_ARCH_linux_arm
+# include "atomic_linux_arm.inline.hpp"
+#endif
+#ifdef TARGET_OS_ARCH_linux_ppc
+# include "atomic_linux_ppc.inline.hpp"
+#endif
 
 jbyte Atomic::cmpxchg(jbyte exchange_value, volatile jbyte* dest, jbyte compare_value) {
   assert(sizeof(jbyte) == 1, "assumption.");