Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / Scalar / ADCE.cpp
index ada086e9db766404980eca3732d9fb027cb95984..4df1c7c8b8a0600715d3a8386db8252a3cb7ed87 100644 (file)
@@ -33,7 +33,7 @@ STATISTIC(NumRemoved, "Number of instructions removed");
 namespace {
   struct ADCE : public FunctionPass {
     static char ID; // Pass identification, replacement for typeid
-    ADCE() : FunctionPass(ID) {}
+    ADCE() : FunctionPass(&ID) {}
     
     virtual bool runOnFunction(Function& F);