From fc8e9f583cf683a397fef637af4b170fda429021 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 15 Jun 2014 07:32:54 +0000 Subject: df.h (FOR_EACH_INSN_INFO_MW): New macro. gcc/ * df.h (FOR_EACH_INSN_INFO_MW): New macro. * df-problems.c (df_note_bb_compute): Use it. * regstat.c (regstat_bb_compute_ri): Likewise. From-SVN: r211680 --- gcc/df.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/df.h') diff --git a/gcc/df.h b/gcc/df.h index 482ac930..9ec8ae1 100644 --- a/gcc/df.h +++ b/gcc/df.h @@ -766,6 +766,10 @@ struct df_d for (df_ref *ITER##_ = DF_INSN_INFO_EQ_USES (INSN); (ITER = *ITER##_); \ ++ITER##_) +#define FOR_EACH_INSN_INFO_MW(ITER, INSN) \ + for (df_mw_hardreg **ITER##_ = DF_INSN_INFO_MWS (INSN); (ITER = *ITER##_); \ + ++ITER##_) + #define FOR_EACH_INSN_DEF(ITER, INSN) \ FOR_EACH_INSN_INFO_DEF(ITER, DF_INSN_INFO_GET (INSN)) -- cgit v1.1