diff options
Diffstat (limited to 'gcc/except.c')
-rw-r--r-- | gcc/except.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/except.c b/gcc/except.c index 0e207d53509..95163cc356b 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2820,7 +2820,7 @@ for_each_eh_label (void (*callback) (rtx)) { struct eh_region_d *r = VEC_index (eh_region, cfun->eh->region_array, i); if (r && r->region_number == i && r->label - && GET_CODE (r->label) == CODE_LABEL) + && LABEL_P (r->label)) (*callback) (r->label); } } @@ -4408,19 +4408,19 @@ dump_eh_tree (FILE * out, struct function *fun) if (i->landing_pad) { fprintf (out, " landing_pad:%i", INSN_UID (i->landing_pad)); - if (GET_CODE (i->landing_pad) == NOTE) + if (NOTE_P (i->landing_pad)) fprintf (out, " (deleted)"); } if (i->post_landing_pad) { fprintf (out, " post_landing_pad:%i", INSN_UID (i->post_landing_pad)); - if (GET_CODE (i->post_landing_pad) == NOTE) + if (NOTE_P (i->post_landing_pad)) fprintf (out, " (deleted)"); } if (i->resume) { fprintf (out, " resume:%i", INSN_UID (i->resume)); - if (GET_CODE (i->resume) == NOTE) + if (NOTE_P (i->resume)) fprintf (out, " (deleted)"); } if (i->may_contain_throw) |