diff options
author | ed <ed@FreeBSD.org> | 2009-06-23 19:32:16 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-06-23 19:32:16 +0000 |
commit | 14660dbe9881f68a6cc2b9f014e1fb7b7228bca4 (patch) | |
tree | 258c14596f927fd77ae8d727dc9c3d4471bf0f46 /lib/Analysis/CFRefCount.cpp | |
parent | da468bf93e74598f985f4988936ee5ca2dc9a38c (diff) | |
download | FreeBSD-src-14660dbe9881f68a6cc2b9f014e1fb7b7228bca4.zip FreeBSD-src-14660dbe9881f68a6cc2b9f014e1fb7b7228bca4.tar.gz |
Import Clang r73984.
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 2 |
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 |