Only call update_flow_info if instruction scheduling is enabled.

From-SVN: r25042
This commit is contained in:
Nick Clifton 1999-02-05 10:57:02 +00:00 committed by Nick Clifton
parent 850350d1f7
commit 3c4fc1ccc4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Feb 5 10:55:43 1999 Nick Clifton <nickc@cygnus.com>
* recog.c (split_block_insns): Only call update_flow_info if
instruction scheduling is enabled.
1999-02-05 11:22 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* Makefile.in (gen-protos): Use libcpp.a like everyone else.

View File

@ -2658,8 +2658,9 @@ split_block_insns (b, do_split)
{
/* try_split returns the NOTE that INSN became. */
first = NEXT_INSN (first);
#ifdef INSN_SCHEDULING
update_flow_info (notes, first, last, insn);
#endif
PUT_CODE (insn, NOTE);
NOTE_SOURCE_FILE (insn) = 0;
NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED;