Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / Scalar / SimplifyCFGPass.cpp
index df6ef2ee75b61860bd7f45658883b9a64222cc16..dad8f2aaec0acf1051925c3abbd2fa29872b1efe 100644 (file)
@@ -42,7 +42,7 @@ STATISTIC(NumSimpl, "Number of blocks simplified");
 namespace {
   struct CFGSimplifyPass : public FunctionPass {
     static char ID; // Pass identification, replacement for typeid
-    CFGSimplifyPass() : FunctionPass(ID) {}
+    CFGSimplifyPass() : FunctionPass(&ID) {}
 
     virtual bool runOnFunction(Function &F);
   };