Handle the situation where CodeGenPrepare removes a reference to a BB that has
[oota-llvm.git] / lib / VMCore / PrintModulePass.cpp
index 415309e52fa9c54aba59467f1ae6bdc453da51d1..1f1fbc91bc31a4eeb388792335ed4c7f35fb947e 100644 (file)
@@ -58,7 +58,7 @@ namespace {
     PrintFunctionPass(const std::string &B, raw_ostream *o, bool DS)
       : FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {}
     
-    inline ~PrintFunctionPass() {
+    ~PrintFunctionPass() {
       if (DeleteStream) delete Out;
     }
     
@@ -78,10 +78,10 @@ namespace {
 
 char PrintModulePass::ID = 0;
 INITIALIZE_PASS(PrintModulePass, "print-module",
-                "Print module to stderr", false, false);
+                "Print module to stderr", false, false)
 char PrintFunctionPass::ID = 0;
 INITIALIZE_PASS(PrintFunctionPass, "print-function",
-                "Print function to stderr", false, false);
+                "Print function to stderr", false, false)
 
 /// createPrintModulePass - Create and return a pass that writes the
 /// module to the specified raw_ostream.