aboutsummaryrefslogtreecommitdiff
path: root/gcc/ssa.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2001-06-19 14:18:49 +0000
committerJeff Law <law@gcc.gnu.org>2001-06-19 08:18:49 -0600
commit10ab5c54a1b1feef2c1696efa107d437026e1c69 (patch)
tree709ac7b9e191236dd40d738ec751aacedb92d6de /gcc/ssa.c
parent57fae080ee8ed7fe944a94e9c003780558896c42 (diff)
downloadgcc-10ab5c54a1b1feef2c1696efa107d437026e1c69.zip
gcc-10ab5c54a1b1feef2c1696efa107d437026e1c69.tar.gz
gcc-10ab5c54a1b1feef2c1696efa107d437026e1c69.tar.bz2
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
Diffstat (limited to 'gcc/ssa.c')
-rw-r--r--gcc/ssa.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/ssa.c b/gcc/ssa.c
index 7927274..df4ca9af 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 ();
}