emit-rtl.c (try_split): Return last_insn if we split the last_insn.

* emit-rtl.c (try_split): Return last_insn if we split the
	last_insn.

From-SVN: r31530
This commit is contained in:
Clinton Popetz 2000-01-20 00:41:52 +00:00 committed by Clinton Popetz
parent 0903fcab88
commit ba52f355e3
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
* emit-rtl.c (try_split): Return last_insn if we split the
last_insn.
Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
* i386-protos.h (ix86_compute_frame_size): Remove prototype.

View File

@ -2258,7 +2258,9 @@ try_split (pat, trial, last)
/* Return either the first or the last insn, depending on which was
requested. */
return last ? prev_active_insn (after) : next_active_insn (before);
return last
? (after ? prev_active_insn (after) : last_insn)
: next_active_insn (before);
}
return trial;