Skip to content
Commit d3a20c9e authored by Dan Gohman's avatar Dan Gohman
Browse files

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. 

llvm-svn: 48226
parent dfdf2c06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment