[PATCH 2/2] add static typed insn_deleted_p
Fri Sep 5 16:46:00 GMT 2014
On 09/05/14 09:32, email@example.com wrote:
> From: Trevor Saunders <firstname.lastname@example.org>
> Same idea as the last patch.
> also bootstrapped and regtested on x86_64-unknown-linux-gnu with config-list.mk
> ongoing ok?
> * cfgrtl.c, combine.c, config/arc/arc.c, config/mcore/mcore.c,
> config/rs6000/rs6000.c, config/sh/sh.c, cprop.c, dwarf2out.c,
> emit-rtl.c, final.c, function.c, gcse.c, jump.c, reg-stack.c,
> reload1.c, reorg.c, resource.c, sel-sched-ir.c: Replace INSN_DELETED_P
> macro with staticly checked member functions.
> * rtl.h (rtx_insn::deleted): New method.
> (rtx_insn::set_deleted): Likewise.
> (rtx_insn::set_undeleted): Likewise.
So in a similar manner, is there some reason that we continue to have
INSN_DELETED_P as a macro? Can we get to a point where either we don't
have the macro because everything has been converted? What's the plan
for getting there?
More information about the Gcc-patches