diff options
author | Richard Henderson <rth@cygnus.com> | 1999-03-31 04:41:03 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-03-31 04:41:03 -0800 |
commit | 359da67d8aa7661e25fff84bfc65a4ff52f7d84b (patch) | |
tree | db616f128a966c259f3fcaed1815905fa9d0605d /gcc/stupid.c | |
parent | 42493273de48c914e4235c83c586f7aa4b8a0ff0 (diff) | |
download | gcc-359da67d8aa7661e25fff84bfc65a4ff52f7d84b.zip gcc-359da67d8aa7661e25fff84bfc65a4ff52f7d84b.tar.gz gcc-359da67d8aa7661e25fff84bfc65a4ff52f7d84b.tar.bz2 |
flow.c (find_basic_blocks): New argument `do_cleanup'.
* flow.c (find_basic_blocks): New argument `do_cleanup'.
Conditionally call delete_unreachable_blocks.
(free_basic_block_vars): Zero ENTRY/EXIT data.
(allocate_for_life_analysis): Kill. Split into...
(allocate_bb_life_data, allocate_reg_life_data): ... new functions.
(life_analysis_1): Update.
* gcse.c (gcse_main): Update find_basic_blocks call.
* toplev.c (rest_of_compilation): Likewise.
* stupid.c (stupid_life_analysis): Update life data calls.
* rtl.h, output.h: Update prototypes.
From-SVN: r26090
Diffstat (limited to 'gcc/stupid.c')
-rw-r--r-- | gcc/stupid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c index 73ec357..a0368be 100644 --- a/gcc/stupid.c +++ b/gcc/stupid.c @@ -253,7 +253,8 @@ stupid_life_analysis (f, nregs, file) /* Allocate and zero out many data structures that will record the data from lifetime analysis. */ - allocate_for_life_analysis (); + allocate_reg_life_data (); + allocate_bb_life_data (); for (i = 0; i < max_regno; i++) REG_N_DEATHS (i) = 1; |