OSDN Git Service

* emit-rtl.c (static_regno_reg_rtx): Define.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jun 2002 16:14:55 +0000 (16:14 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jun 2002 16:14:55 +0000 (16:14 +0000)
commit90295bd2e83a3a802eb080cd23c9760a748239de
tree1e31a85b6ad526e69fcd507891472e959a6541de
parent61b914265a93af0ff15ab294fa6beb30405dd051
    * emit-rtl.c (static_regno_reg_rtx): Define.
        (init_emit_once): Initialize static_regno_reg_rtx.
        (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
        of building new hard reg objects once per function.
        (gen_rtx_REG): Try to share hard regs.
* regclass.c (init_fake_stack_mems): New function broken out from
init_regs.
* rtl.h (init_fake_stack_mems): Declare.
* toplev.c (lang_independent_init): Call init_regs before
init_emit_once.  Call init_fake_stack_mems after init_emit_once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54588 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/emit-rtl.c
gcc/regclass.c
gcc/rtl.h
gcc/toplev.c