From 37cb687fcb256cd891d1a69c8db77ae1c39f759f Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Fri, 28 Jun 2013 22:54:16 +0000 Subject: [PATCH] Try to unbreak Linux buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185237 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/BlockFrequencyImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Analysis/BlockFrequencyImpl.h b/include/llvm/Analysis/BlockFrequencyImpl.h index c9067a0721b..ae3eccf8d7c 100644 --- a/include/llvm/Analysis/BlockFrequencyImpl.h +++ b/include/llvm/Analysis/BlockFrequencyImpl.h @@ -235,8 +235,8 @@ class BlockFrequencyImpl { // // Iterations = 1 / ExitProb // - uint64_t D = std::max(getBlockFreq(Head).getFrequency(), 1ull); - uint64_t N = std::max(BackFreq.getFrequency(), 1ull); + uint64_t D = std::max(getBlockFreq(Head).getFrequency(), UINT64_C(1)); + uint64_t N = std::max(BackFreq.getFrequency(), UINT64_C(1)); if (N < D) N = D - N; else