From f698f7e71940663e26a4806a96fb0bdfa160c886 Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 23 Jun 2009 19:32:16 +0000 Subject: Import Clang r73984. --- lib/Analysis/RegionStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Analysis/RegionStore.cpp') diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index f76807beb29e..77f5b7cb39bb 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -939,7 +939,7 @@ SVal RegionStoreManager::Retrieve(const GRState *state, Loc L, QualType T) { } } - if (MRMgr.hasStackStorage(R) || MRMgr.hasHeapStorage(R)) { + if (R->hasHeapOrStackStorage()) { // All stack variables are considered to have undefined values // upon creation. All heap allocated blocks are considered to // have undefined values as well unless they are explicitly bound -- cgit v1.3