From: Jeffrey A Law Date: Tue, 19 Jun 2001 14:18:49 +0000 (+0000) Subject: ssa.c (ssa_uses): Remove definition. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10ab5c54a1b1feef2c1696efa107d437026e1c69;p=gcc.git ssa.c (ssa_uses): Remove definition. * ssa.c (ssa_uses): Remove definition. (apply_delayed_renames): Don't grow ssa_uses. (rename_block): Remove comment related to ssa_uses. (rename_registers): Do not initialize ssa_uses. (convert_from_ssa): Do not free ssa_uses. From-SVN: r43460 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d83f3c23d97..ab7ae32d345 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ Tue Jun 19 07:53:52 2001 Jeffrey A Law (law@cygnus.com) + * ssa.c (ssa_uses): Remove definition. + (apply_delayed_renames): Don't grow ssa_uses. + (rename_block): Remove comment related to ssa_uses. + (rename_registers): Do not initialize ssa_uses. + (convert_from_ssa): Do not free ssa_uses. + * ssa-dce.c: Renamed from dce.c. * Makefile.in (OBJS): Replace dce.o with ssa-dce.o (dependencies): Replace dce.c with ssa-dce.c and dce.o with diff --git a/gcc/ssa.c b/gcc/ssa.c index 7927274046c..df4ca9af687 100644 --- a/gcc/ssa.c +++ b/gcc/ssa.c @@ -92,9 +92,6 @@ int in_ssa_form = 0; /* Element I is the single instruction that sets register I. */ varray_type ssa_definition; -/* Element I is an INSN_LIST of instructions that use register I. */ -varray_type ssa_uses; - /* Element I-PSEUDO is the normal register that originated the ssa register in question. */ varray_type ssa_rename_from; @@ -828,7 +825,6 @@ apply_delayed_renames (c) { int new_limit = new_regno * 5 / 4; VARRAY_GROW (ssa_definition, new_limit); - VARRAY_GROW (ssa_uses, new_limit); } VARRAY_RTX (ssa_definition, new_regno) = r->set_insn; @@ -1084,7 +1080,6 @@ rename_block (bb, idom) abort(); *phi_alternative (phi, bb) = reg; - /* ??? Mark for a new ssa_uses entry. */ } insn = NEXT_INSN (insn); @@ -1124,7 +1119,6 @@ rename_registers (nregs, idom) int *idom; { VARRAY_RTX_INIT (ssa_definition, nregs * 3, "ssa_definition"); - VARRAY_RTX_INIT (ssa_uses, nregs * 3, "ssa_uses"); ssa_rename_from_initialize (); ssa_rename_to_pseudo = (rtx *) alloca (nregs * sizeof(rtx)); @@ -2222,7 +2216,6 @@ convert_from_ssa() /* Deallocate the data structures. */ VARRAY_FREE (ssa_definition); - VARRAY_FREE (ssa_uses); ssa_rename_from_free (); }