regclass.c (renumber, [...]): New static variables, moved out of allocate_reg_info.
authorBernd Schmidt <crux@pool.informatik.rwth-aachen.de>
Wed, 28 Oct 1998 10:22:48 +0000 (10:22 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 28 Oct 1998 10:22:48 +0000 (03:22 -0700)
commited396e68008200351bd49b4eb8a1cbe644d3b5f3
tree930e66784844e640aa3c34f9123f16d19b6cb753
parente626b8402cd9d9bfb88ddc0cc65f6cc734928d72
regclass.c (renumber, [...]): New static variables, moved out of allocate_reg_info.

        * regclass.c (renumber, regno_allocated): New static variables, moved
        out of allocate_reg_info.
        (allocate_reg_info): Move these two variables outside the function.
        Move code to free memory into new function free_reg_info.
        (free_reg_info): New function, broken out of allocate_reg_info.
        * toplev.c (compile_file): Call free_reg_info, not allocate_reg_info.
        * rtl.h (allocate_reg_info): Don't declare.
        (free_reg_info): Declare.

From-SVN: r23397
gcc/ChangeLog
gcc/regclass.c
gcc/rtl.h
gcc/toplev.c