Merge significant portions of the DomTree and PostDomTree implementations.
[oota-llvm.git] / lib / Analysis / AliasDebugger.cpp
index 14526a279d17bfb36d4dfb106c90286123eb1ae9..bbb7acf8edb0c5f6ee5febb7f4b55342fcc7b8a4 100644 (file)
@@ -40,7 +40,7 @@ namespace {
     std::set<const Value*> Vals;
     
   public:
-    static const char ID; // Class identification, replacement for typeinfo
+    static char ID; // Class identification, replacement for typeinfo
     AliasDebugger() : ModulePass((intptr_t)&ID) {}
 
     bool runOnModule(Module &M) {
@@ -122,7 +122,7 @@ namespace {
 
   };
 
-  const char AliasDebugger::ID = 0;
+  char AliasDebugger::ID = 0;
   RegisterPass<AliasDebugger> X("debug-aa", "AA use debugger");
   RegisterAnalysisGroup<AliasAnalysis> Y(X);
 }