From: Ted Kremenek Date: Tue, 18 Sep 2007 23:30:21 +0000 (+0000) Subject: Changed solver to use "==" operator when comparing dataflow values X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44e402611fa0e48fc92932de95e19dc9d8c3b3f8;p=clang Changed solver to use "==" operator when comparing dataflow values 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 --- diff --git a/Analysis/DataflowSolver.h b/Analysis/DataflowSolver.h index d3d4d9f917..b89b45b677 100644 --- a/Analysis/DataflowSolver.h +++ b/Analysis/DataflowSolver.h @@ -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); }