From 580b89992fae365fd41832f4342888eb4dbc9eb4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 11 Mar 2008 16:41:42 +0000 Subject: Give PassManager and FunctionPassManager a common base class, with add(Pass *) as a pure virtual member function. This will allow all the various addPassesTo* functions in LLVM to avoid hard-coding what type of PassManager is used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48226 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/PassManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index 1696645..bef1171 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -1531,4 +1531,4 @@ void BasicBlockPass::assignPassManager(PMStack &PMS, BBP->add(this); } - +PassManagerBase::~PassManagerBase() {} -- cgit v1.1