land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git] / lib / Analysis / AliasAnalysis.cpp
index c189a004292875ca4bf2beac41bd3e92613165ba..bfa02e0e1f8de3a4b53f13d4bdab95a5a853ee60 100644 (file)
@@ -341,7 +341,7 @@ void AliasAnalysis::getAnalysisUsage(AnalysisUsage &AU) const {
 /// getTypeStoreSize - Return the TargetData store size for the given type,
 /// if known, or a conservative value otherwise.
 ///
-uint64_t AliasAnalysis::getTypeStoreSize(const Type *Ty) {
+uint64_t AliasAnalysis::getTypeStoreSize(Type *Ty) {
   return TD ? TD->getTypeStoreSize(Ty) : UnknownSize;
 }