harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r522913 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp
Date Tue, 27 Mar 2007 13:58:34 GMT
Author: gshimansky
Date: Tue Mar 27 06:58:33 2007
New Revision: 522913

URL: http://svn.apache.org/viewvc?view=rev&rev=522913
Log:
Applied HARMONY-3506 [drlvm][winx64][jit] tests.api.java.util.WeakHashMapTest run failed in
server mode on JIT OPT


Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp?view=diff&rev=522913&r1=522912&r2=522913
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp Tue Mar 27 06:58:33 2007
@@ -242,7 +242,7 @@
     //PhaseTimer tm(getEntryTimer, "getEntry");
     assert(vectorHandler);
     StlVector<uint64>* theVector = (StlVector<uint64>*) vectorHandler;
-    if (key > (uint64) theVector->size()) return ILLEGAL_VALUE;
+    if (key >= (uint64) theVector->size()) return ILLEGAL_VALUE;
     return (*theVector)[(size_t)key];
 }
 //static Timer* setEntryTimer = NULL;



Mime
View raw message