aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-09-05 06:46:12 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-09-05 06:46:12 +0000
commitaeba28405dde0a7a0d0c49c1897e3b1ce0139f41 (patch)
tree6ceaa4403a198e3b635bb1a296d84ba1a2795b9b
parent2191b20bfb31fc0e22a158f6b4204cd0b7dbd0fd (diff)
pass the correct predecessor node.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81066 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/GRExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 187d03e43e..053da67c7d 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -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.