aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/GRCoreEngine.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-25 07:03:08 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-25 07:03:08 +0000
commit0024a9af26ca0710b4c5fc292641df29f3530fed (patch)
tree48705524f27b54a8ffa2b9ad13a27c7fd7b1029f /lib/Checker/GRCoreEngine.cpp
parent833e50e6a2c246dbc4b3c17b7c9d657c5b5d333e (diff)
Add comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRCoreEngine.cpp')
-rw-r--r--lib/Checker/GRCoreEngine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Checker/GRCoreEngine.cpp b/lib/Checker/GRCoreEngine.cpp
index dd1720edfd..17ef1d48f5 100644
--- a/lib/Checker/GRCoreEngine.cpp
+++ b/lib/Checker/GRCoreEngine.cpp
@@ -430,7 +430,9 @@ void GRStmtNodeBuilder::GenerateAutoTransition(ExplodedNode* N) {
// Check if this node entered a callee.
if (isa<CallEnter>(N->getLocation())) {
- Eng.WList->Enqueue(N, B, Idx); // Still use the index of the CallExpr.
+ // Still use the index of the CallExpr. It's needed to create the callee
+ // StackFrameContext.
+ Eng.WList->Enqueue(N, B, Idx);
return;
}