aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
authorVladimir Makarov <vmakarov@redhat.com>2001-08-30 20:44:51 +0000
committerVladimir Makarov <vmakarov@gcc.gnu.org>2001-08-30 20:44:51 +0000
commitb8ec576419e8dd1e335dd16d22a0cd7a9b1865e0 (patch)
tree9cc1dc4a63e4c3af0ab3e68c017e773ea05dec6f /gcc/sched-vis.c
parent6e4302ec5b8658dbbed93bc09cf45b52aa94766c (diff)
rtl.def: Undo my patch commited 2001-08-27.
2001-08-30 Vladimir Makarov <vmakarov@redhat.com> * rtl.def: Undo my patch commited 2001-08-27. * genattrtab.c: Ditto. * rtl.h: Ditto. * sched-int.h: Ditto. * target-def.h: Ditto. * target.h: Ditto. * haifa-sched.c: Ditto. * sched-rgn.c: Ditto. * sched-vis.c: Ditto. * Makefile.in: Ditto. * doc/md.texi: Ditto. * doc/tm.texi: Ditto. * doc/contrib.texi: Ditto. * doc/gcc.texi: Ditto. * genattrtab.h: Remove it. * genautomata.c: Remove it. * genattr.c: Undo my patch and Richard Henderson's patch commited 2001-08-27. From-SVN: r45297
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r--gcc/sched-vis.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index 9d761d1531d..90521a24703 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -31,7 +31,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "basic-block.h"
#include "insn-attr.h"
#include "sched-int.h"
-#include "target.h"
#ifdef INSN_SCHEDULING
/* target_units bitmask has 1 for each unit in the cpu. It should be
@@ -39,8 +38,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
But currently it is computed by examining the insn list. Since
this is only needed for visualization, it seems an acceptable
solution. (For understanding the mapping of bits to units, see
- definition of function_units[] in "insn-attrtab.c".) The scheduler
- using only DFA description should never use the following variable. */
+ definition of function_units[] in "insn-attrtab.c".) */
static int target_units = 0;
@@ -124,13 +122,6 @@ get_visual_tbl_length ()
int n, n1;
char *s;
- if (targetm.sched.use_dfa_pipeline_interface)
- {
- visual_tbl_line_length = 1;
- return 1; /* Can't return 0 because that will cause problems
- with alloca. */
- }
-
/* Compute length of one field in line. */
s = (char *) alloca (INSN_LEN + 6);
sprintf (s, " %33s", "uname");
@@ -818,8 +809,7 @@ print_insn (buf, x, verbose)
}
} /* print_insn */
-/* Print visualization debugging info. The scheduler using only DFA
- description should never use the following function. */
+/* Print visualization debugging info. */
void
print_block_visualization (s)