diff options
author | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-03 09:11:10 +0000 |
---|---|---|
committer | Andreas Neustifter <astifter-llvm@gmx.at> | 2009-09-03 09:11:10 +0000 |
commit | f0d568d38b24cc157861b9cd1dc993efe07b3fe9 (patch) | |
tree | f882a928b13611c85bae66825a1e17b694d7ce5b /lib/Analysis/ProfileInfoLoader.cpp | |
parent | 39859438715fc8f9ff16d7cec6cf2a9cb2ac0803 (diff) |
Fix build warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoader.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfoLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileInfoLoader.cpp b/lib/Analysis/ProfileInfoLoader.cpp index 7ecfed0b10..cb7ae1a10c 100644 --- a/lib/Analysis/ProfileInfoLoader.cpp +++ b/lib/Analysis/ProfileInfoLoader.cpp @@ -32,7 +32,7 @@ static inline unsigned ByteSwap(unsigned Var, bool Really) { ((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; |