diff options
author | Richard Henderson <rth@cygnus.com> | 2000-05-17 14:01:07 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-05-17 14:01:07 -0700 |
commit | 97d36f455e71c16d284bc5e2735fd174673b9e0f (patch) | |
tree | 29b79c5c989692d01b7a5e6d73a5c535c51e4e48 /gcc/basic-block.h | |
parent | 79f50f2abde174891bd80390909c410c2296fa10 (diff) | |
download | gcc-97d36f455e71c16d284bc5e2735fd174673b9e0f.zip gcc-97d36f455e71c16d284bc5e2735fd174673b9e0f.tar.gz gcc-97d36f455e71c16d284bc5e2735fd174673b9e0f.tar.bz2 |
toplev.c (rest_of_compilation): Don't call optimize_mode_switching unless OPTIMIZE_MODE_SWITCHING.
* 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.
From-SVN: r33965
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 f9eb268..c7ae0f8 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)); |