Drop 'const'
llvm-svn: 36662
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
index a40d133..c077f7c 100644
--- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
@@ -39,7 +39,7 @@
/// transformation profitability.
const TargetLowering *TLI;
public:
- static const char ID; // Pass identifcation, replacement for typeid
+ static char ID; // Pass identifcation, replacement for typeid
CodeGenPrepare(const TargetLowering *tli = 0) : FunctionPass((intptr_t)&ID),
TLI(tli) {}
bool runOnFunction(Function &F);
@@ -55,7 +55,7 @@
};
}
-const char CodeGenPrepare::ID = 0;
+char CodeGenPrepare::ID = 0;
static RegisterPass<CodeGenPrepare> X("codegenprepare",
"Optimize for code generation");