Remove unnecessary anonymous namespace from a header

llvm-svn: 268677
This commit is contained in:
Reid Kleckner 2016-05-05 20:30:48 +00:00
parent 539ca882c6
commit 18399b0ddc
1 changed files with 0 additions and 2 deletions

View File

@ -1173,12 +1173,10 @@ void BlockFrequencyInfoImpl<BT>::computeIrreducibleMass(
updateLoopWithIrreducible(*OuterLoop);
}
namespace {
// A helper function that converts a branch probability into weight.
inline uint32_t getWeightFromBranchProb(const BranchProbability Prob) {
return Prob.getNumerator();
}
} // namespace
template <class BT>
bool