diff options
-rw-r--r-- | llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp index 0e51019ccce..d32e1094442 100644 --- a/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp +++ b/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp @@ -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", |