mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Move Pass into anonymous namespace. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11ba91f321
commit
e9fd02be07
@ -74,6 +74,7 @@ static cl::opt<unsigned> SpecExecMaxNotHoisted(
|
||||
"number of instructions that would not be speculatively executed "
|
||||
"exceeds this limit."));
|
||||
|
||||
namespace {
|
||||
class SpeculativeExecution : public FunctionPass {
|
||||
public:
|
||||
static char ID;
|
||||
@ -88,6 +89,7 @@ class SpeculativeExecution : public FunctionPass {
|
||||
|
||||
const TargetTransformInfo *TTI = nullptr;
|
||||
};
|
||||
} // namespace
|
||||
|
||||
char SpeculativeExecution::ID = 0;
|
||||
INITIALIZE_PASS_BEGIN(SpeculativeExecution, "speculative-execution",
|
||||
|
Loading…
x
Reference in New Issue
Block a user