changeset 5147:3851c69bf4ea

Merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 22 Mar 2012 19:43:56 +0100
parents 25903e52af48 (current diff) f7b2800b1738 (diff)
children eeb2ca1bf3a9
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp	Thu Mar 22 19:28:45 2012 +0100
+++ b/src/share/vm/graal/graalCodeInstaller.cpp	Thu Mar 22 19:43:56 2012 +0100
@@ -202,11 +202,11 @@
       if (isLongArray && cur_second == NULL) {
         // we're trying to put ints into a long array... this isn't really valid, but it's used for some optimizations.
         // add an int 0 constant
-#ifdef BIG_ENDIAN
+#ifdef VM_LITTLE_ENDIAN
+        cur_second = new ConstantIntValue(0);
+#else
         cur_second = value;
         value = new ConstantIntValue(0);
-#else
-        cur_second = new ConstantIntValue(0);
 #endif
       }