changeset 535:2109ddb8dc92 cacao

2007-12-18 Gary Benson <gbenson@redhat.com> * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp (_Copy_conjoint_jints_atomic): Invert conditionals for readability. (_Copy_conjoint_jints_atomic): Likewise.
author Gary Benson <gbenson@redhat.com>
date Tue, 18 Dec 2007 04:59:22 -0500
parents bf1a4d76ee2d
children 52e05f49560a
files ChangeLog ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Dec 18 04:36:32 2007 -0500
+++ b/ChangeLog	Tue Dec 18 04:59:22 2007 -0500
@@ -1,3 +1,9 @@
+2007-12-18  Gary Benson  <gbenson@redhat.com>
+
+	* ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp
+	(_Copy_conjoint_jints_atomic): Invert conditionals for readability.
+	(_Copy_conjoint_jints_atomic): Likewise.
+
 2007-12-18  Gary Benson  <gbenson@redhat.com>
 
 	* ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp
--- a/ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp	Tue Dec 18 04:36:32 2007 -0500
+++ b/ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp	Tue Dec 18 04:59:22 2007 -0500
@@ -281,23 +281,23 @@
 
 extern "C" {
 
-#ifndef PPC32
+#ifdef PPC64
   void _Copy_conjoint_jints_atomic(jint* from, jint* to, size_t count)
   {
     Unimplemented();
   }
-#endif // !PPC32
+#endif // PPC64
 
-#ifndef PPC64
+#ifdef PPC32
   void _Copy_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count)
   {
-#if defined(PPC32) && defined(XXX_EVIL_EVIL_EVIL)
+#ifdef XXX_EVIL_EVIL_EVIL
     _Copy_conjoint_jints_atomic((jint *) from, (jint *) to, count * 2);
 #else
     Unimplemented();
-#endif // PPC32 && XXX_EVIL_EVIL_EVIL
+#endif // XXX_EVIL_EVIL_EVIL
   }
-#endif // !PPC64
+#endif // PPC32
 
   void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count)
   {