Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / IPO / ArgumentPromotion.cpp
index 0c77e1fd8cff4f7dfdcc155515d62cd41201a13d..4cd4e17f3d2dee1fc185abe5a33ad1f419b9a661 100644 (file)
@@ -67,7 +67,7 @@ namespace {
     virtual bool runOnSCC(CallGraphSCC &SCC);
     static char ID; // Pass identification, replacement for typeid
     explicit ArgPromotion(unsigned maxElements = 3)
-      : CallGraphSCCPass(ID), maxElements(maxElements) {}
+      : CallGraphSCCPass(&ID), maxElements(maxElements) {}
 
     /// A vector used to hold the indices of a single GEP instruction
     typedef std::vector<uint64_t> IndicesVector;