diff options
author | Devang Patel <dpatel@apple.com> | 2007-05-03 01:11:54 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-05-03 01:11:54 +0000 |
commit | 8c78a0bff0c0e9d0594598bcb76cd623bb625083 (patch) | |
tree | 7bc923ea023ad1b97520bf8dc76bdb2bc861fc7b /llvm/lib/Transforms/Utils/LoopSimplify.cpp | |
parent | 7aa944da8b4de0e532a5634a66f99f418d4bd0dc (diff) | |
download | bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.tar.gz bcm5719-llvm-8c78a0bff0c0e9d0594598bcb76cd623bb625083.zip |
Drop 'const'
llvm-svn: 36662
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopSimplify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index c0227e10a6f..c88ba17accc 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp @@ -54,7 +54,7 @@ STATISTIC(NumNested , "Number of nested loops split out"); namespace { struct VISIBILITY_HIDDEN LoopSimplify : public FunctionPass { - static const char ID; // Pass identifcation, replacement for typeid + static char ID; // Pass identifcation, replacement for typeid LoopSimplify() : FunctionPass((intptr_t)&ID) {} // AA - If we have an alias analysis object to update, this is it, otherwise @@ -92,7 +92,7 @@ namespace { std::vector<BasicBlock*> &PredBlocks); }; - const char LoopSimplify::ID = 0; + char LoopSimplify::ID = 0; RegisterPass<LoopSimplify> X("loopsimplify", "Canonicalize natural loops", true); } |