harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r680650 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/codelowerer.cpp
Date Tue, 29 Jul 2008 09:25:00 GMT
Author: hindessm
Date: Tue Jul 29 02:24:56 2008
New Revision: 680650

URL: http://svn.apache.org/viewvc?rev=680650&view=rev
Log:
Fix operator precedence bug.

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/codelowerer.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/codelowerer.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/codelowerer.cpp?rev=680650&r1=680649&r2=680650&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/codelowerer.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/codelowerer.cpp Tue Jul 29 02:24:56
2008
@@ -414,8 +414,8 @@
                     Inst *succ2HeadInst = (Inst*)succ2->getFirstInst();
                     Inst *insertBeforeInst = succ2HeadInst->getNextInst();
                     while (insertBeforeInst!=NULL 
-                        && (insertBeforeInst->getOpcode() == Op_Phi) 
-                            || (insertBeforeInst->getOpcode() == Op_TauPi)) 
+                        && ( (insertBeforeInst->getOpcode() == Op_Phi) 
+                             || (insertBeforeInst->getOpcode() == Op_TauPi) ) ) 
                     {
                         insertBeforeInst = insertBeforeInst->getNextInst();
                     }



Mime
View raw message