From f5cae63463cdb325a0bed146595607cba6da1ebc Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Sat, 28 Feb 2009 20:50:43 +0000 Subject: [PATCH] Revert 65707 (causes stack memory to be referenced after it is released). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65717 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/GRExprEngine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 0bec1b45db..916340d175 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -1357,10 +1357,10 @@ void GRExprEngine::VisitCallRec(CallExpr* CE, NodeTy* Pred, // Transfer function: Objective-C ivar references. //===----------------------------------------------------------------------===// +static std::pair EagerlyAssumeTag + = std::pair(&EagerlyAssumeTag,0); + void GRExprEngine::EvalEagerlyAssume(NodeSet &Dst, NodeSet &Src, Expr *Ex) { - std::pair - EagerlyAssumeTag((const void*)&EagerlyAssumeTag, 0); - for (NodeSet::iterator I=Src.begin(), E=Src.end(); I!=E; ++I) { NodeTy *Pred = *I; -- 2.40.0