harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r490791 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BranchTrans.cpp
Date Thu, 28 Dec 2006 20:46:49 GMT
Author: apetrenko
Date: Thu Dec 28 12:46:48 2006
New Revision: 490791

URL: http://svn.apache.org/viewvc?view=rev&rev=490791
Log:
Additional patch for HARMONY-2686

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BranchTrans.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BranchTrans.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BranchTrans.cpp?view=diff&rev=490791&r1=490790&r2=490791
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BranchTrans.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BranchTrans.cpp Thu
Dec 28 12:46:48 2006
@@ -326,7 +326,8 @@
                                     }
                                 }
                                 Inst::Opnds flags(defInst,Inst::OpndRole_Def|Inst::OpndRole_Implicit);
-                                if (stopSearch || (defInst->getOpnd(flags.begin())->getRegName()
== RegName_EFLAGS))                                     break;
+                                if (stopSearch || ((flags.begin() != flags.end()) &&
defInst->getOpnd(flags.begin())->getRegName() == RegName_EFLAGS))                  
                  
+                                    break;
                             }
                             continue;
                         }



Mime
View raw message