Re: [2/67] Make machine_mode a class

2016-12-15 Thread Trevor Saunders
On Fri, Dec 09, 2016 at 12:52:03PM +, Richard Sandiford wrote: > This patch renames enum machine_mode to enum machine_mode_enum > and adds a machine_mode wrapper class. > > The previous patch mechanically replaced mode names in case > statements; this one updates other places that should conti

[2/67] Make machine_mode a class

2016-12-09 Thread Richard Sandiford
This patch renames enum machine_mode to enum machine_mode_enum and adds a machine_mode wrapper class. The previous patch mechanically replaced mode names in case statements; this one updates other places that should continue to use the enum directly. The patch continues to use enums for static va