On Wed, May 4, 2016 at 10:49 PM, David Malcolm wrote:
> The RTL frontend needs to be able to lookup passes by name.
>
> passes.c has global state name_to_pass_map (albeit static, scoped
> to passes.c), for use by enable_disable_pass.
>
> Move it to be a field of class pass_manager, and add
> a get
The RTL frontend needs to be able to lookup passes by name.
passes.c has global state name_to_pass_map (albeit static, scoped
to passes.c), for use by enable_disable_pass.
Move it to be a field of class pass_manager, and add
a get_pass_by_name method.
OK for trunk?
gcc/ChangeLog:
* pass