Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / IPO / ConstantMerge.cpp
index 75282fae18bc531bc5a981faccdce66a6ddc311e..5c6bc868c936bda86203b5411de5b609cad2b4f5 100644 (file)
@@ -31,7 +31,7 @@ STATISTIC(NumMerged, "Number of global constants merged");
 namespace {
   struct ConstantMerge : public ModulePass {
     static char ID; // Pass identification, replacement for typeid
-    ConstantMerge() : ModulePass(ID) {}
+    ConstantMerge() : ModulePass(&ID) {}
 
     // run - For this pass, process all of the globals in the module,
     // eliminating duplicate constants.