projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3985943
)
Fix build warning.
author
Andreas Neustifter
<astifter-llvm@gmx.at>
Thu, 3 Sep 2009 09:11:10 +0000
(09:11 +0000)
committer
Andreas Neustifter
<astifter-llvm@gmx.at>
Thu, 3 Sep 2009 09:11:10 +0000
(09:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80912
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ProfileInfoLoader.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ProfileInfoLoader.cpp
b/lib/Analysis/ProfileInfoLoader.cpp
index 7ecfed0b107252e53a6a904c01808da518d8faab..cb7ae1a10c3a92ade0723ae5b882ba2b87794201 100644
(file)
--- 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;