diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-31 12:41:03 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-31 12:41:03 +0000 |
commit | 870bb7d2608272ac0ea76c0aa495aca0f7d2772d (patch) | |
tree | db616f128a966c259f3fcaed1815905fa9d0605d /gcc/stupid.c | |
parent | 7656701eedab8e633f52908d755ef09d1c179e66 (diff) | |
download | gcc-870bb7d2608272ac0ea76c0aa495aca0f7d2772d.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26090 138bc75d-0d04-0410-961f-82ee72b054a4
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 73ec3573933..a0368bec3ca 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; |