Move Pass into anonymous namespace. NFC.

llvm-svn: 237526
This commit is contained in:
Benjamin Kramer 2015-05-16 16:16:35 +00:00
parent b4569fb51f
commit d9f06c8b87
1 changed files with 2 additions and 0 deletions

View File

@ -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",