You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by eg...@apache.org on 2007/12/27 19:27:08 UTC

svn commit: r607105 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp

Author: egor
Date: Thu Dec 27 10:27:08 2007
New Revision: 607105

URL: http://svn.apache.org/viewvc?rev=607105&view=rev
Log:
fixed trivial bug with reversed const<->dst edge direction in inequality graph

(does not affect checks elimination rate in practice)


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

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp?rev=607105&r1=607104&r2=607105&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/abcd/classic_abcd.cpp Thu Dec 27 10:27:08 2007
@@ -446,7 +446,7 @@
         IOpndProxy* c_opnd = new (mm) 
             IOpndProxy((int32)non_inf_bound.getConst(), _const_id_counter++);
         _igraph->addOpnd(c_opnd);
-        addDistanceSingleProblem(c_opnd /* to */, dst, 0, lower_problem);
+        addDistanceSingleProblem(dst /* to */, c_opnd, 0, lower_problem);
     }
 }
 //------------------------------------------------------------------------------