Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / CodeGen / DwarfEHPrepare.cpp
index 57f45ec199d480fea54bdc456fafe14f45a4cce0..dfa9622a20a3a86593282ec8f328401f01f8265d 100644 (file)
@@ -160,7 +160,7 @@ namespace {
   public:
     static char ID; // Pass identification, replacement for typeid.
     DwarfEHPrepare(const TargetMachine *tm, bool fast) :
-      FunctionPass(ID), TM(tm), TLI(TM->getTargetLowering()),
+      FunctionPass(&ID), TM(tm), TLI(TM->getTargetLowering()),
       CompileFast(fast),
       ExceptionValueIntrinsic(0), SelectorIntrinsic(0),
       URoR(0), EHCatchAllValue(0), RewindFunction(0) {}