Re: [PATCH 011/236] Replace PREV_INSN et al macros with functions

2014-08-19 Thread David Malcolm
On Tue, 2014-08-12 at 15:20 -0600, Jeff Law wrote: On 08/06/14 11:19, David Malcolm wrote: Yet more scaffolding: convert the NEXT_INSN/PREV_INSN macros and their SET_* variants into functions. Convert the rvalue-style functions into returning rtx_insn * rather than plain rtx. For

Re: [PATCH 011/236] Replace PREV_INSN et al macros with functions

2014-08-12 Thread Jeff Law
On 08/06/14 11:19, David Malcolm wrote: Yet more scaffolding: convert the NEXT_INSN/PREV_INSN macros and their SET_* variants into functions. Convert the rvalue-style functions into returning rtx_insn * rather than plain rtx. For now, this is done by adding a checked cast, but I hope this can

[PATCH 011/236] Replace PREV_INSN et al macros with functions

2014-08-06 Thread David Malcolm
Yet more scaffolding: convert the NEXT_INSN/PREV_INSN macros and their SET_* variants into functions. Convert the rvalue-style functions into returning rtx_insn * rather than plain rtx. For now, this is done by adding a checked cast, but I hope this can eventually become a field lookup. The