regclass.c (regclass): Break out some code into new function scan_one_insn, and into...
authorBernd Schmidt <crux@pool.informatik.rwth-aachen.de>
Thu, 22 Oct 1998 23:08:26 +0000 (23:08 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 22 Oct 1998 23:08:26 +0000 (17:08 -0600)
commit61719ba72ea174211d594e8856d157fa96c9756f
treef33d6ad0bb1c8108c5fa289f5f24460c5ec2ec3e
parent04bbb0c54c7907baf626fb576536d82a78f7f43d
regclass.c (regclass): Break out some code into new function scan_one_insn, and into regclass_init.

        * regclass.c (regclass): Break out some code into new function
        scan_one_insn, and into regclass_init.
        (init_cost): New static variable, moved out of regclass.
        (regclass_init): Initialize it here, not in .
        (scan_one_insn): New static function, broken out of regclass.
        * recog.c (apply_change_group): Break out some code into new
        function insn_invalid_p.
        (insn_invalid_p): New static fn, broken out of apply_change_group.

From-SVN: r23236
gcc/ChangeLog
gcc/recog.c
gcc/regclass.c