Drop 'const'
[oota-llvm.git] / lib / Transforms / Scalar / GCSE.cpp
index 2cf8b64d1e746aca7a7f74933838cc194bf8ca5f..fa9867a585356d3f3ae5d0987f83f12e93d1b4b2 100644 (file)
@@ -37,7 +37,7 @@ STATISTIC(NumArgsRepl   , "Number of function arguments replaced "
                           "with constant values");
 namespace {
   struct VISIBILITY_HIDDEN GCSE : public FunctionPass {
-    static const char ID; // Pass identifcation, replacement for typeid
+    static char ID; // Pass identifcation, replacement for typeid
     GCSE() : FunctionPass((intptr_t)&ID) {}
 
     virtual bool runOnFunction(Function &F);
@@ -54,7 +54,7 @@ namespace {
     }
   };
 
-  const char GCSE::ID = 0;
+  char GCSE::ID = 0;
   RegisterPass<GCSE> X("gcse", "Global Common Subexpression Elimination");
 }