Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / IPO / FunctionAttrs.cpp
index 6165ba023f7377b757a618200fa347675dc1c485..d5c35ea59d60e1c108baddc42b63d427f068a73d 100644 (file)
@@ -41,7 +41,7 @@ STATISTIC(NumNoAlias, "Number of function returns marked noalias");
 namespace {
   struct FunctionAttrs : public CallGraphSCCPass {
     static char ID; // Pass identification, replacement for typeid
-    FunctionAttrs() : CallGraphSCCPass(ID) {}
+    FunctionAttrs() : CallGraphSCCPass(&ID) {}
 
     // runOnSCC - Analyze the SCC, performing the transformation if possible.
     bool runOnSCC(CallGraphSCC &SCC);