diff options
author | Jeff Law <law@redhat.com> | 2002-06-10 10:32:45 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2002-06-10 10:32:45 -0600 |
commit | bf1660a67066f9ad75d368466f5be15cc23a6ca1 (patch) | |
tree | b6731a46c8b99043d03fbda9812dc896be80aba5 /gcc/function.c | |
parent | 8dc5848454ac4c24ce5a3fead6dd4e4ef4cb3a2f (diff) | |
download | gcc-bf1660a67066f9ad75d368466f5be15cc23a6ca1.zip gcc-bf1660a67066f9ad75d368466f5be15cc23a6ca1.tar.gz gcc-bf1660a67066f9ad75d368466f5be15cc23a6ca1.tar.bz2 |
alias.c (static_reg_base_value): New to hold RTL for items allocated once per function for the aliasing code.
* alias.c (static_reg_base_value): New to hold RTL for
items allocated once per function for the aliasing code.
(init_alias_once_per_function): Initialize static_reg_base_value.
(init_alias_analysis): Avoid throw-away allocations of RTL by
using pre-computed values in static_reg_base_value.
* function.c (prepare_function_start): Call
init_alias_once_per_function appropriately.
* rtl.h (init_alias_once_per_function): Declare.
* caller-save (init_caller_save): Restructure slightly to
avoid lots of silly RTL generation.
* expr.c (init_expr_once): Likewise.
* reload1.c (reload_cse_regs_1): Allocate throw-away register
RTL object here. Pass it into children.
(reload_cse_simplify_operands): Use passed-in register RTL
object.
(reload_cse_simplify): Pass through throw-away register
RTL object.
From-SVN: r54442
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index d1f4e89..96c2563 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -6208,6 +6208,9 @@ prepare_function_start () /* Initialize the RTL mechanism. */ init_emit (); + /* Do per-function initialization of the alias analyzer. */ + init_alias_once_per_function (); + /* Initialize the queue of pending postincrement and postdecrements, and some other info in expr.c. */ init_expr (); |