]> granicus.if.org Git - clang/commitdiff
pass the correct predecessor node.
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 5 Sep 2009 06:46:12 +0000 (06:46 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 5 Sep 2009 06:46:12 +0000 (06:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81066 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index 187d03e43ebf5197fa2854b7abff3bf79d1d6a95..053da67c7d101c6bd471ca3390b1936655e9bdc5 100644 (file)
@@ -1628,7 +1628,7 @@ void GRExprEngine::VisitCallRec(CallExpr* CE, ExplodedNode* Pred,
     MarkNoReturnFunction(FD, CE, state, Builder);
     
     // Evaluate the call.
-    if (EvalBuiltinFunction(FD, CE, Pred, Dst))
+    if (EvalBuiltinFunction(FD, CE, *DI, Dst))
       continue;
 
     // Dispatch to the plug-in transfer function.