From 2c8e16d507d3adbac431c7ef8c47f46ee8a7684b Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Wed, 14 Oct 2015 03:04:03 +0000 Subject: Revert r250204 and r250240 due to bot failure. We failed to build PGO-ed clang. llvm-svn: 250264 --- llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp') diff --git a/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp b/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp index 48e23af2690..903a263a65f 100644 --- a/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp +++ b/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp @@ -530,13 +530,6 @@ BlockFrequencyInfoImplBase::getFloatingBlockFreq(const BlockNode &Node) const { return Freqs[Node.Index].Scaled; } -void BlockFrequencyInfoImplBase::setBlockFreq(const BlockNode &Node, - uint64_t Freq) { - assert(Node.isValid() && "Expected valid node"); - assert(Node.Index < Freqs.size() && "Expected legal index"); - Freqs[Node.Index].Integer = Freq; -} - std::string BlockFrequencyInfoImplBase::getBlockName(const BlockNode &Node) const { return std::string(); -- cgit v1.2.3