summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-01 22:07:12 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-01 22:07:12 +0000
commit2a275102d38b4e888bf0e4b289ffe73b940f340a (patch)
treef2992b37234ccf3bd2b6d605f61c11caea94b6b3 /llvm
parentff0e622d1c5a8c04f318e6e2d2e516547f1e5938 (diff)
downloadbcm5719-llvm-2a275102d38b4e888bf0e4b289ffe73b940f340a.tar.gz
bcm5719-llvm-2a275102d38b4e888bf0e4b289ffe73b940f340a.zip
Fix build warning.
llvm-svn: 80730
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Analysis/ProfileInfoLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoader.cpp b/llvm/lib/Analysis/ProfileInfoLoader.cpp
index 5ca2e3015f9..dfb79ff875c 100644
--- a/llvm/lib/Analysis/ProfileInfoLoader.cpp
+++ b/llvm/lib/Analysis/ProfileInfoLoader.cpp
@@ -57,7 +57,7 @@ static void ReadProfilingBlock(const char *ToolName, FILE *F,
// Make sure we have enough space... The space is initialised to -1 to
// facitiltate the loading of missing values for OptimalEdgeProfiling.
if (Data.size() < NumEntries)
- Data.resize(NumEntries, -1);
+ Data.resize(NumEntries, ~0U);
// Accumulate the data we just read into the data.
if (!ShouldByteSwap) {
OpenPOWER on IntegriCloud