This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: line insn notes cleanups (haifa-sched and modulo-sched)


Tehila Meyzels <TEHILA@il.ibm.com> writes:

> 2006-08-20  Tehila Meyzels  <tehila@il.ibm.com>
> 
>       * haifa-sched.c: Remove define LINE_NOTE(INSN).
>       Remove line_note_head.
>       Update documentation.
>       (unlink_line_notes): Remove.
>       (associate_line_notes_with_blocks): Remove.
>       (extend_bb): Remove basic block argument, put void instead.
>       Remove line number handling for each bb.
>       (rm_line_notes): Remove.
>       (save_line_notes): Remove.
>       (restore_line_notes): Remove.
>       (rm_redundant_line_notes): Remove.
>       (sched_init): Remove line_note_head initialization.
>       Change extend_bb call.
>       (sched_finish): Remove free of line_note_head.
>       (add_block): Change extend_bb call.
>       * sched-ebb.c (schedule_ebb): Remove save_line_notes,
>       rm_line_notes and restore_line_notes calls.
>       (schedule_ebbs): Remove rm_redundant_line_notes.
>       * sched-int.h (struct haifa_insn_data): Remove line_note.
>       (rm_line_notes): Remove declaraion.
>       (save_line_notes): Remove declaraion.
>       (restore_line_notes): Remove declaraion.
>       (rm_redundant_line_notes): Remove declaraion.
>       * modulo-sched.c (find_line_note): Remove.
>       (loop_canon_p): Update debug info printing by using insn
>       locators instead of line note.
>       (sms_schedule): Update debug info printing, by using insn
>       locators instead of line note.
>       * sched-rgn.c (debug_dependencies): Remove handling of case
>       n>0 (line number), since it's a dead code.

This patch is OK now that we are in stage 1.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]