harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r539244 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/String_Pool.cpp
Date Fri, 18 May 2007 03:26:46 GMT
Author: smishura
Date: Thu May 17 20:26:45 2007
New Revision: 539244

URL: http://svn.apache.org/viewvc?view=rev&rev=539244
Log:
Quick fix for commit r538982 (DRLVM build fails on Windows x86):
Fixed bug HARMONY-3758 [drlvm][classloader] assert fires in String_Pool::lookup()

Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/String_Pool.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/String_Pool.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/String_Pool.cpp?view=diff&rev=539244&r1=539243&r2=539244
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/String_Pool.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/String_Pool.cpp Thu May 17 20:26:45
2007
@@ -154,8 +154,11 @@
 
 POINTER_SIZE_INT String_Pool::hash_it_unaligned(const char * s, size_t len) {
     POINTER_SIZE_INT h1 = 0, h2 = 0;
-    POINTER_SIZE_INT val, val0, val1, val2, val3, val4, val5, val6, val7;
     const size_t parts = len / sizeof(POINTER_SIZE_INT);
+
+#ifdef _IPF_ /* 64 bit and little endian */
+    POINTER_SIZE_INT val, val0, val1, val2, val3, val4, val5, val6, val7;
+#endif
 
     // ATTENTION! we got here with unaligned s!
 



Mime
View raw message