diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-17 21:01:07 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-17 21:01:07 +0000 |
commit | b78e14a84b3965d9f543c2965dd34d3b7323e11d (patch) | |
tree | 29b79c5c989692d01b7a5e6d73a5c535c51e4e48 /gcc/basic-block.h | |
parent | 6dafd80a2da78d0503ec94ce85143e50de93e26c (diff) | |
download | gcc-b78e14a84b3965d9f543c2965dd34d3b7323e11d.tar.gz |
* toplev.c (rest_of_compilation): Don't call optimize_mode_switching
unless OPTIMIZE_MODE_SWITCHING. Conditionally set no_new_pseudos.
Don't call recompute_reg_usage if no_new_pseudos is true.
* lcm.c (optimize_mode_switching): Move ifdefs outside function.
Return true if we did work; update global life information.
* basic-block.h (optimize_mode_switching): Update decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33965 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index f9eb268458a..c7ae0f86383 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -450,7 +450,7 @@ extern struct edge_list *pre_edge_rev_lcm PARAMS ((FILE *, int, sbitmap *, sbitmap **)); extern void compute_available PARAMS ((sbitmap *, sbitmap *, sbitmap *, sbitmap *)); -extern void optimize_mode_switching PARAMS ((FILE *)); +extern int optimize_mode_switching PARAMS ((FILE *)); /* In emit-rtl.c. */ extern rtx emit_block_insn_after PARAMS ((rtx, rtx, basic_block)); |