summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-23 19:32:16 +0000
committered <ed@FreeBSD.org>2009-06-23 19:32:16 +0000
commit14660dbe9881f68a6cc2b9f014e1fb7b7228bca4 (patch)
tree258c14596f927fd77ae8d727dc9c3d4471bf0f46 /lib/Analysis/CFRefCount.cpp
parentda468bf93e74598f985f4988936ee5ca2dc9a38c (diff)
downloadFreeBSD-src-14660dbe9881f68a6cc2b9f014e1fb7b7228bca4.zip
FreeBSD-src-14660dbe9881f68a6cc2b9f014e1fb7b7228bca4.tar.gz
Import Clang r73984.
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 1ccd092..46333a7 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -3141,7 +3141,7 @@ void CFRefCount::EvalBind(GRStmtNodeBuilderRef& B, SVal location, SVal val) {
escapes = true;
else {
const MemRegion* R = cast<loc::MemRegionVal>(location).getRegion();
- escapes = !B.getStateManager().hasStackStorage(R);
+ escapes = !R->hasStackStorage();
if (!escapes) {
// To test (3), generate a new state with the binding removed. If it is
OpenPOWER on IntegriCloud