aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.co.uk>2000-12-05 16:51:13 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2000-12-05 16:51:13 +0000
commitf56887a78f92924a34a2226f4ac546c21f1ff686 (patch)
tree2faccb8009c09517598fd7a29dc850c272e2bfe8 /gcc/sched-vis.c
parent3dc9aec61fefd723e28780c84e83b9c5d2219186 (diff)
Fix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
From-SVN: r38042
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r--gcc/sched-vis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index 9bbc4357d7c..7e4fdab2d71 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -30,6 +30,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "insn-attr.h"
#include "sched-int.h"
+#ifdef INSN_SCHEDULING
/* target_units bitmask has 1 for each unit in the cpu. It should be
possible to compute this variable from the machine description.
But currently it is computed by examining the insn list. Since
@@ -927,3 +928,4 @@ visualize_free ()
{
free (visual_tbl);
}
+#endif