forked from OSchip/llvm-project
Remove unnecessary anonymous namespace from a header
llvm-svn: 268677
This commit is contained in:
parent
539ca882c6
commit
18399b0ddc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue