harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r474295 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h
Date Mon, 13 Nov 2006 13:14:28 GMT
Author: varlax
Date: Mon Nov 13 05:14:28 2006
New Revision: 474295

URL: http://svn.apache.org/viewvc?view=rev&rev=474295
Log:
HARMONY-2167 [drlvm] remove pointless unsigned >= 0 assertion to fix icl build
Tested compilation on msvc2003 and icl 9.0

Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h?view=diff&rev=474295&r1=474294&r2=474295
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/ulist.h Mon Nov 13 05:14:28
2006
@@ -159,7 +159,7 @@
 
     void erase(iterator i) {
         assert(0 <= i.index); assert((size_t)i.index < i.current->used);
-        i.current->used--; assert(i.current->used >= 0);
+        i.current->used--;
 
         // compact array if the erased element was not the last
         if ((size_t)i.index < i.current->used) {



Mime
View raw message