harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r601780 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/insertpi.cpp
Date Thu, 06 Dec 2007 16:26:42 GMT
Author: egor
Date: Thu Dec  6 08:26:41 2007
New Revision: 601780

URL: http://svn.apache.org/viewvc?rev=601780&view=rev
Log:
re-fixed HARMONY-4795 [drlvm][jit][opt] classic_abcd asserts in kernel tests


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

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/insertpi.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/insertpi.cpp?rev=601780&r1=601779&r2=601780&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/insertpi.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/insertpi.cpp Thu Dec  6 08:26:41
2007
@@ -780,12 +780,7 @@
         {
             Opnd *constOpnd = getConstantOpnd(inst->getSrc(1));
             if (constOpnd && (inst->getType() == Type::Int32)) {
-                Opnd *op0 = inst->getSrc(0);
                 Opnd *op1 = constOpnd;
-                // now op1 should be constant
-                // I assume we've done folding first
-                if( !(!getConstantOpnd(op0)) ) assert(0);
-                
                 Inst *inst1 = op1->getInst();
                 assert(inst1);
                 ConstInst *cinst1 = inst1->asConstInst();



Mime
View raw message