X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FPrintModulePass.cpp;h=1f1fbc91bc31a4eeb388792335ed4c7f35fb947e;hb=586a55a29089c6128f843cd331fed210c480ed0a;hp=415309e52fa9c54aba59467f1ae6bdc453da51d1;hpb=9ccaf53ada99c63737547c0235baeb8454b04e80;p=oota-llvm.git diff --git a/lib/VMCore/PrintModulePass.cpp b/lib/VMCore/PrintModulePass.cpp index 415309e52fa..1f1fbc91bc3 100644 --- a/lib/VMCore/PrintModulePass.cpp +++ b/lib/VMCore/PrintModulePass.cpp @@ -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.