]> granicus.if.org Git - clang/commitdiff
Changed solver to use "==" operator when comparing dataflow values
authorTed Kremenek <kremenek@apple.com>
Tue, 18 Sep 2007 23:30:21 +0000 (23:30 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 18 Sep 2007 23:30:21 +0000 (23:30 +0000)
rather than a special "equal" method defined in the class for the
value.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42113 91177308-0d34-0410-b5e6-96231b3b80d8

Analysis/DataflowSolver.h

index d3d4d9f917a0c4d966feef8646b83d98b081b88a..b89b45b67739614a3ac0043a28df6f03f67a9402 100644 (file)
@@ -228,7 +228,7 @@ private:
       M[E].copyValues(V);
       WorkList.enqueue(TargetBlock);
     }
-    else if (!V.equal(I->second)) {
+    else if (!(V==I->second)) {
       I->second.copyValues(V);
       WorkList.enqueue(TargetBlock);
     }