mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Move class into an anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
00404bfaef
commit
afa88eaf65
@ -25,7 +25,7 @@ INITIALIZE_PASS_END(BranchProbabilityInfo, "branch-prob",
|
||||
|
||||
char BranchProbabilityInfo::ID = 0;
|
||||
|
||||
|
||||
namespace {
|
||||
// Please note that BranchProbabilityAnalysis is not a FunctionPass.
|
||||
// It is created by BranchProbabilityInfo (which is a FunctionPass), which
|
||||
// provides a clear interface. Thanks to that, all heuristics and other
|
||||
@ -143,6 +143,7 @@ public:
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
};
|
||||
} // end anonymous namespace
|
||||
|
||||
// Calculate Edge Weights using "Return Heuristics". Predict a successor which
|
||||
// leads directly to Return Instruction will not be taken.
|
||||
|
Loading…
Reference in New Issue
Block a user