You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2007/03/27 15:58:34 UTC
svn commit: r522913 -
/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/CGSupport.cpp
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;