Drop 'const'
llvm-svn: 36662
diff --git a/llvm/lib/Transforms/Utils/LowerAllocations.cpp b/llvm/lib/Transforms/Utils/LowerAllocations.cpp
index 2d0258e..7ce2479 100644
--- a/llvm/lib/Transforms/Utils/LowerAllocations.cpp
+++ b/llvm/lib/Transforms/Utils/LowerAllocations.cpp
@@ -36,7 +36,7 @@
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 @@
bool runOnBasicBlock(BasicBlock &BB);
};
- const char LowerAllocations::ID = 0;
+ char LowerAllocations::ID = 0;
RegisterPass<LowerAllocations>
X("lowerallocs", "Lower allocations from instructions to calls");
}