aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-02-02 19:02:18 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-02-02 19:02:18 +0000
commita638bdc2fdb6a3fb16124e7ca1e1789070d5c0a8 (patch)
tree2a8e5c1153c6bdbd4e93812889138fc77017db8b /gcc/emit-rtl.c
parent88c6f1018217155e6a92734074450505703a827b (diff)
downloadgcc-a638bdc2fdb6a3fb16124e7ca1e1789070d5c0a8.zip
gcc-a638bdc2fdb6a3fb16124e7ca1e1789070d5c0a8.tar.gz
gcc-a638bdc2fdb6a3fb16124e7ca1e1789070d5c0a8.tar.bz2
emit-rtl.c (renumber_insns): Remove.
* emit-rtl.c (renumber_insns): Remove. * flags.h: Remove the extern for flag_renumber_insns. * rtl.h: Remove the prototype for renumber_insns. * toplev.c (flag_renumber_insns): Remove. From-SVN: r121517
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 871ca38..94381a9e 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -2806,33 +2806,6 @@ get_max_uid (void)
{
return cur_insn_uid;
}
-
-/* Renumber instructions so that no instruction UIDs are wasted. */
-
-void
-renumber_insns (void)
-{
- rtx insn;
-
- /* If we're not supposed to renumber instructions, don't. */
- if (!flag_renumber_insns)
- return;
-
- /* If there aren't that many instructions, then it's not really
- worth renumbering them. */
- if (flag_renumber_insns == 1 && get_max_uid () < 25000)
- return;
-
- cur_insn_uid = 1;
-
- for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
- {
- if (dump_file)
- fprintf (dump_file, "Renumbering insn %d to %d\n",
- INSN_UID (insn), cur_insn_uid);
- INSN_UID (insn) = cur_insn_uid++;
- }
-}
/* Return the next insn. If it is a SEQUENCE, return the first insn
of the sequence. */