Remove the canCombineSubRegIndices() target hook.
[oota-llvm.git] / lib / Analysis / BlockFrequencyInfo.cpp
index d16665fa55cf3bb0f27f80b0bd59028e081d1fab..8a660f737c9b2e9b55402f87566586bfc177a6a6 100644 (file)
@@ -58,6 +58,6 @@ void BlockFrequencyInfo::print(raw_ostream &O, const Module *) const {
 /// that we should not rely on the value itself, but only on the comparison to
 /// the other block frequencies. We do this to avoid using of floating points.
 ///
-BlockFrequency BlockFrequencyInfo::getBlockFreq(BasicBlock *BB) const {
+BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const {
   return BFI->getBlockFreq(BB);
 }