diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-10 14:54:39 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-10 14:54:39 +0000 |
commit | 73119c25df6a374ba4a6a071e9b18287c76e3b4d (patch) | |
tree | f9a442172c86c08ed6a49234576fa03de3f932ea /gcc/gcse.c | |
parent | dcaa067ea507d61dbd6ce3f4dc1b7c05beb68781 (diff) | |
download | gcc-73119c25df6a374ba4a6a071e9b18287c76e3b4d.tar.gz |
2007-11-10 Steven Bosscher <stevenb.gcc@gmail.com>
* gcse.c (CUID_INSN): Remove.
(cuid_insn): Ditto.
(alloc_gcse_mem): Don't allocate cuid_insn.
(free_gcse_mem): Don't free cuid_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130071 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index b0a592d4d66..21d3da45185 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -380,12 +380,6 @@ static int max_uid; /* Number of cuids. */ static int max_cuid; -/* Mapping of cuids to insns. */ -static rtx *cuid_insn; - -/* Get insn from cuid. */ -#define CUID_INSN(CUID) (cuid_insn[CUID]) - /* Maximum register number in function prior to doing gcse + 1. Registers created during this pass have regno >= max_gcse_regno. This is named with "gcse" to not collide with global of same name. */ @@ -942,15 +936,7 @@ alloc_gcse_mem (void) uid_cuid[INSN_UID (insn)] = i; } - /* Create a table mapping cuids to insns. */ - max_cuid = i; - cuid_insn = gcalloc (max_cuid + 1, sizeof (rtx)); - i = 0; - FOR_EACH_BB (bb) - FOR_BB_INSNS (bb, insn) - if (INSN_P (insn)) - CUID_INSN (i++) = insn; /* Allocate vars to track sets of regs. */ reg_set_bitmap = BITMAP_ALLOC (NULL); @@ -971,7 +957,6 @@ static void free_gcse_mem (void) { free (uid_cuid); - free (cuid_insn); BITMAP_FREE (reg_set_bitmap); |