[llvm-commits] [llvm] r80912 - /llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp
Andreas Neustifter
astifter-llvm at gmx.at
Thu Sep 3 02:11:11 PDT 2009
Author: astifter
Date: Thu Sep 3 04:11:10 2009
New Revision: 80912
URL: http://llvm.org/viewvc/llvm-project?rev=80912&view=rev
Log:
Fix build warning.
Modified:
llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp
Modified: llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp?rev=80912&r1=80911&r2=80912&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp (original)
+++ llvm/trunk/lib/Analysis/ProfileInfoLoader.cpp Thu Sep 3 04:11:10 2009
@@ -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;
More information about the llvm-commits
mailing list