[cfe-commits] r65717 - /cfe/trunk/lib/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Sat Feb 28 12:50:44 PST 2009
Author: kremenek
Date: Sat Feb 28 14:50:43 2009
New Revision: 65717
URL: http://llvm.org/viewvc/llvm-project?rev=65717&view=rev
Log:
Revert 65707 (causes stack memory to be referenced after it is released).
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=65717&r1=65716&r2=65717&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/lib/Analysis/GRExprEngine.cpp Sat Feb 28 14:50:43 2009
@@ -1357,10 +1357,10 @@
// Transfer function: Objective-C ivar references.
//===----------------------------------------------------------------------===//
+static std::pair<const void*,const void*> EagerlyAssumeTag
+ = std::pair<const void*,const void*>(&EagerlyAssumeTag,0);
+
void GRExprEngine::EvalEagerlyAssume(NodeSet &Dst, NodeSet &Src, Expr *Ex) {
- std::pair<const void*,const void*>
- EagerlyAssumeTag((const void*)&EagerlyAssumeTag, 0);
-
for (NodeSet::iterator I=Src.begin(), E=Src.end(); I!=E; ++I) {
NodeTy *Pred = *I;
More information about the cfe-commits
mailing list