diff options
author | Andreas Neustifter <astifter@gmx.at> | 2009-09-03 09:11:10 +0000 |
---|---|---|
committer | Andreas Neustifter <astifter@gmx.at> | 2009-09-03 09:11:10 +0000 |
commit | 551c462cc936f64e1462b7a973e54e340ae657a4 (patch) | |
tree | f882a928b13611c85bae66825a1e17b694d7ce5b | |
parent | 34dd111c5c8a54d2b512999eb5179d42a746cf30 (diff) | |
download | external_llvm-551c462cc936f64e1462b7a973e54e340ae657a4.zip external_llvm-551c462cc936f64e1462b7a973e54e340ae657a4.tar.gz external_llvm-551c462cc936f64e1462b7a973e54e340ae657a4.tar.bz2 |
Fix build warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80912 91177308-0d34-0410-b5e6-96231b3b80d8
-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 7ecfed0..cb7ae1a 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; |