From 6859d95ea2d0f3fe0de2923a3f642170e66a1a14 Mon Sep 17 00:00:00 2001 From: Michael Liao Date: Wed, 16 Sep 2020 14:43:08 -0400 Subject: [PATCH] Fix build. --- llvm/lib/Passes/StandardInstrumentations.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp index 4755315ecfdb..e2cc19b34f3b 100644 --- a/llvm/lib/Passes/StandardInstrumentations.cpp +++ b/llvm/lib/Passes/StandardInstrumentations.cpp @@ -338,7 +338,6 @@ template ChangePrinter::~ChangePrinter() { IRChangePrinter::IRChangePrinter() : Out(dbgs()) {} IRChangePrinter::~IRChangePrinter() { - ChangePrinter::~ChangePrinter(); } void IRChangePrinter::registerCallbacks(PassInstrumentationCallbacks &PIC) { @@ -415,7 +414,7 @@ void IRChangePrinter::handleIgnored(StringRef PassID, std::string &Name) { bool IRChangePrinter::same(const std::string &Before, const std::string &After) { return Before.compare(After) == 0; -}; +} PrintIRInstrumentation::~PrintIRInstrumentation() { assert(ModuleDescStack.empty() && "ModuleDescStack is not empty at exit");