From 8f9f786ab270de03a4d3aa3e01ff9881d8d1e66b Mon Sep 17 00:00:00 2001 From: jcoomes Date: Wed, 6 Jul 2011 12:03:01 -0700 Subject: [PATCH] 7061187: need some includes for arm/ppc Reviewed-by: dholmes, never, jwilhelm, kvn --- src/share/vm/opto/lcm.cpp | 3 +++ src/share/vm/opto/matcher.cpp | 3 +++ src/share/vm/runtime/atomic.cpp | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/src/share/vm/opto/lcm.cpp b/src/share/vm/opto/lcm.cpp index 5729c7eea..af75a8d42 100644 --- a/src/share/vm/opto/lcm.cpp +++ b/src/share/vm/opto/lcm.cpp @@ -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 diff --git a/src/share/vm/opto/matcher.cpp b/src/share/vm/opto/matcher.cpp index 8610a50fa..bf24f9ba3 100644 --- a/src/share/vm/opto/matcher.cpp +++ b/src/share/vm/opto/matcher.cpp @@ -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; diff --git a/src/share/vm/runtime/atomic.cpp b/src/share/vm/runtime/atomic.cpp index bfda4533a..3b012e0c0 100644 --- a/src/share/vm/runtime/atomic.cpp +++ b/src/share/vm/runtime/atomic.cpp @@ -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."); -- GitLab