< prev index next >

src/hotspot/os_cpu/linux_ppc/orderAccess_linux_ppc.hpp

Print this page
rev 50962 : [mq]: 8207011

@@ -83,11 +83,11 @@
 
 template<size_t byte_size>
 struct OrderAccess::PlatformOrderedLoad<byte_size, X_ACQUIRE>
 {
   template <typename T>
-  T operator()(const volatile T* p) const { register T t = Atomic::load(p); inlasm_acquire_reg(t); return t; }
+  T operator()(const volatile T* p) const { T t = Atomic::load(p); inlasm_acquire_reg(t); return t; }
 };
 
 #undef inlasm_sync
 #undef inlasm_lwsync
 #undef inlasm_eieio
< prev index next >