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
Loading
Please register or sign in to comment