summaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-05 16:51:13 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-05 16:51:13 +0000
commitcda0a5f5169ba24c274b3e7d24f2d82b993adc5b (patch)
tree2faccb8009c09517598fd7a29dc850c272e2bfe8 /gcc/sched-vis.c
parent886deab87770b1aafa11391f09d39b4000ab5e92 (diff)
downloadgcc-cda0a5f5169ba24c274b3e7d24f2d82b993adc5b.tar.gz
Fix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38042 138bc75d-0d04-0410-961f-82ee72b054a4
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