[llvm-commits] [vmkit] r50224 - /vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Thu Apr 24 12:22:42 PDT 2008
Author: geoffray
Date: Thu Apr 24 14:22:42 2008
New Revision: 50224
URL: http://llvm.org/viewvc/llvm-project?rev=50224&view=rev
Log:
Decrement counter at the right place.
Modified:
vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp
Modified: vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp?rev=50224&r1=50223&r2=50224&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp (original)
+++ vmkit/trunk/lib/JnJVM/VMCore/Jnjvm.cpp Thu Apr 24 14:22:42 2008
@@ -571,11 +571,11 @@
} else if (name->at(0) == AssessorDesc::I_TAB) {
while (doLoop) {
+ --len;
if (len == 0) {
doLoop = false;
} else {
++start;
- --len;
if (name->at(start) != AssessorDesc::I_TAB) {
if (name->at(start) == AssessorDesc::I_REF) {
uint32 size = (uint32)name->size;
More information about the llvm-commits
mailing list