summaryrefslogtreecommitdiff
path: root/gcc/ssa.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-19 14:18:49 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-19 14:18:49 +0000
commit5890a06f05135381bafd0c01971af4335fb47ce8 (patch)
tree709ac7b9e191236dd40d738ec751aacedb92d6de /gcc/ssa.c
parent07855acf3625331fad815d7ef0819d7939ba7f6f (diff)
downloadgcc-5890a06f05135381bafd0c01971af4335fb47ce8.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43460 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 ();
}