Fix build warning.
llvm-svn: 80912
diff --git a/llvm/lib/Analysis/ProfileInfoLoader.cpp b/llvm/lib/Analysis/ProfileInfoLoader.cpp
index 7ecfed0..cb7ae1a 100644
--- a/llvm/lib/Analysis/ProfileInfoLoader.cpp
+++ b/llvm/lib/Analysis/ProfileInfoLoader.cpp
@@ -32,7 +32,7 @@
((Var & (255<<24)) >> 24);
}
-static const unsigned AddCounts(unsigned A, unsigned B) {
+static unsigned AddCounts(unsigned A, unsigned B) {
// If either value is undefined, use the other.
if (A == ~0U) return B;
if (B == ~0U) return A;