Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / Transforms / Scalar / BasicBlockPlacement.cpp
index b144678c6a0eda03a7b9324329787f1e5f043ace..89fb64c58bfc724ad502cc8040f50dcab8cfcb8c 100644 (file)
@@ -41,7 +41,7 @@ STATISTIC(NumMoved, "Number of basic blocks moved");
 namespace {
   struct BlockPlacement : public FunctionPass {
     static char ID; // Pass identification, replacement for typeid
-    BlockPlacement() : FunctionPass(ID) {}
+    BlockPlacement() : FunctionPass(&ID) {}
 
     virtual bool runOnFunction(Function &F);