diff options
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r-- | llvm/tools/bugpoint/ExtractFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp index 6e21e890b90..85da9294285 100644 --- a/llvm/tools/bugpoint/ExtractFunction.cpp +++ b/llvm/tools/bugpoint/ExtractFunction.cpp @@ -306,10 +306,10 @@ namespace { class BlockExtractorPass : public ModulePass { bool runOnModule(Module &M); public: - static const char ID; // Pass ID, replacement for typeid + static char ID; // Pass ID, replacement for typeid BlockExtractorPass() : ModulePass((intptr_t)&ID) {} }; - const char BlockExtractorPass::ID = 0; + char BlockExtractorPass::ID = 0; RegisterPass<BlockExtractorPass> XX("extract-bbs", "Extract Basic Blocks From Module (for bugpoint use)"); } |