Temporarily revert r250345 to sort out bot failure.
[oota-llvm.git] / lib / Analysis / BlockFrequencyInfo.cpp
index 90b7a339a0fe2d13b37ed0420c74565fe72ac63c..ac4ee8f11e0a0e5189fb921716ba13b61d99a81c 100644 (file)
@@ -129,12 +129,6 @@ BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const {
   return BFI ? BFI->getBlockFreq(BB) : 0;
 }
 
-void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB,
-                                      uint64_t Freq) {
-  assert(BFI && "Expected analysis to be available");
-  BFI->setBlockFreq(BB, Freq);
-}
-
 /// Pop up a ghostview window with the current block frequency propagation
 /// rendered using dot.
 void BlockFrequencyInfo::view() const {