harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r518597 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
Date Thu, 15 Mar 2007 11:52:33 GMT
Author: varlax
Date: Thu Mar 15 04:52:32 2007
New Revision: 518597

URL: http://svn.apache.org/viewvc?view=rev&rev=518597
Log:
Regression in HARMONY-3035 patch fixed (a typo basically).

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp?view=diff&rev=518597&r1=518596&r2=518597
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
(original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaByteCodeTranslator.cpp
Thu Mar 15 04:52:32 2007
@@ -1747,9 +1747,9 @@
     uint32 numArgs = JavaLabelPrepass::getNumArgsBySignature(methodSig); 
 
     // pop numArgs items
-    for (uint32 i=numArgs-1; i>=0; i--)
+    while (numArgs--) {
         popOpnd();
-
+    }
     // recognize and push respective returnType
     Type* retType = JavaLabelPrepass::getRetTypeBySignature(methodSig, typeManager);
     assert(retType);



Mime
View raw message