commit | 580b89992fae365fd41832f4342888eb4dbc9eb4 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Mar 11 16:41:42 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Mar 11 16:41:42 2008 +0000 |
tree | 968ddd01f911260cc8d450a25c3fd3e17daccd4f | |
parent | b4b28231f792a232a7d143eed7790424846dceca [diff] |
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