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/LowerAllocations.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/LowerAllocations.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/LowerAllocations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerAllocations.cpp b/llvm/lib/Transforms/Utils/LowerAllocations.cpp index 2d0258e7510..7ce247909c5 100644 --- a/llvm/lib/Transforms/Utils/LowerAllocations.cpp +++ b/llvm/lib/Transforms/Utils/LowerAllocations.cpp @@ -36,7 +36,7 @@ namespace { Constant *FreeFunc; // Initialized by doInitialization bool LowerMallocArgToInteger; public: - static const char ID; // Pass ID, replacement for typeid + static char ID; // Pass ID, replacement for typeid LowerAllocations(bool LowerToInt = false) : BasicBlockPass((intptr_t)&ID), MallocFunc(0), FreeFunc(0), LowerMallocArgToInteger(LowerToInt) {} @@ -68,7 +68,7 @@ namespace { bool runOnBasicBlock(BasicBlock &BB); }; - const char LowerAllocations::ID = 0; + char LowerAllocations::ID = 0; RegisterPass<LowerAllocations> X("lowerallocs", "Lower allocations from instructions to calls"); } |

