diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-06-17 07:21:38 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-06-17 07:21:38 +0000 |
commit | ecbd16829a4d793983a4b2f3670c3c44801a07f2 (patch) | |
tree | b04b4975da863f812773f3f2920de42569405e03 /llvm/lib/Analysis/AliasAnalysis.cpp | |
parent | ac80dc753228af5f1b415bc9fa9834aeba19122b (diff) | |
download | bcm5719-llvm-ecbd16829a4d793983a4b2f3670c3c44801a07f2.tar.gz bcm5719-llvm-ecbd16829a4d793983a4b2f3670c3c44801a07f2.zip |
[PM/AA] Remove the UnknownSize static member from AliasAnalysis.
This is now living in MemoryLocation, which is what it pertains to. It
is also an enum there rather than a static data member which is left
never defined.
llvm-svn: 239886
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysis.cpp b/llvm/lib/Analysis/AliasAnalysis.cpp index 1cb5cc8727e..d44653e8c9c 100644 --- a/llvm/lib/Analysis/AliasAnalysis.cpp +++ b/llvm/lib/Analysis/AliasAnalysis.cpp @@ -429,7 +429,7 @@ void AliasAnalysis::getAnalysisUsage(AnalysisUsage &AU) const { /// if known, or a conservative value otherwise. /// uint64_t AliasAnalysis::getTypeStoreSize(Type *Ty) { - return DL ? DL->getTypeStoreSize(Ty) : UnknownSize; + return DL ? DL->getTypeStoreSize(Ty) : MemoryLocation::UnknownSize; } /// canBasicBlockModify - Return true if it is possible for execution of the |