[cfe-commits] r58446 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp

Ted Kremenek kremenek at apple.com
Thu Oct 30 11:37:08 PDT 2008


Author: kremenek
Date: Thu Oct 30 13:37:08 2008
New Revision: 58446

URL: http://llvm.org/viewvc/llvm-project?rev=58446&view=rev
Log:
Use the correct predecessor node.

Modified:
    cfe/trunk/lib/Analysis/GRExprEngine.cpp

Modified: cfe/trunk/lib/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRExprEngine.cpp?rev=58446&r1=58445&r2=58446&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Thu Oct 30 13:37:08 2008
@@ -1678,7 +1678,7 @@
           SVal V = NonLoc::MakeCompoundVal(T, NewVals, getBasicVals());
 
           // Make final state and node.
-          MakeNode(Dst, E, Pred,  BindExpr(state, E, V));
+          MakeNode(Dst, E, *NI, BindExpr(state, E, V));
         }
         else {
           // Still some initializer values to go.  Push them onto the worklist.





More information about the cfe-commits mailing list