diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-08 01:33:18 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-08 01:33:18 +0000 |
commit | 1ba79dfeea7fb57ec51432f6bd70878c43343658 (patch) | |
tree | 0aaa8d06ce13995a3502249258e2b48dc57f6542 /clang/lib/Analysis/RegionStore.cpp | |
parent | 766004f1793ff6cf82c7a5ff89f6c1ffb6d833cc (diff) | |
download | bcm5719-llvm-1ba79dfeea7fb57ec51432f6bd70878c43343658.tar.gz bcm5719-llvm-1ba79dfeea7fb57ec51432f6bd70878c43343658.zip |
Revert r71079.
llvm-svn: 71202
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
-rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 5f987fdf271..74e20698331 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/lib/Analysis/RegionStore.cpp @@ -297,7 +297,7 @@ private: // Utility methods. BasicValueFactory& getBasicVals() { return StateMgr.getBasicVals(); } ASTContext& getContext() { return StateMgr.getContext(); } - TargetInfo& getTargetInfo() { return getContext().getTargetInfo(); } + SymbolManager& getSymbolManager() { return StateMgr.getSymbolManager(); } const GRState* AddRegionView(const GRState* St, @@ -315,7 +315,7 @@ StoreManager* clang::CreateRegionStoreManager(GRStateManager& StMgr) { // getTypeWidth - compute the width of the type. Should pass in // canonical type. static unsigned getTypeWidth(ASTContext& Ctx, QualType T) { - TargetInfo& Target = Ctx.getTargetInfo(); + TargetInfo& Target = Ctx.Target; QualType CanT = Ctx.getCanonicalType(T); if (CanT->isPointerType()) |