+2000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
+
+ * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
+ * sched-rgn.c: Likewise.
+ (rgn_print_insn): Fix output.
+
2000-12-05 Bruce Korb <bkorb@gnu.org>
* fixinc/Makefile.*: make these more consistent
#include "recog.h"
#include "sched-int.h"
+#ifdef INSN_SCHEDULING
/* Some accessor macros for h_i_d members only used within this file. */
#define INSN_REF_COUNT(INSN) (h_i_d[INSN_UID (INSN)].ref_count)
#define FED_BY_SPEC_LOAD(insn) (h_i_d[INSN_UID (insn)].fed_by_spec_load)
sprintf (tmp, "b%3d: i%4d", INSN_BB (insn), INSN_UID (insn));
else
{
- sprintf (tmp, "%d", INSN_UID (insn));
if (current_nr_blocks > 1 && INSN_BB (insn) != target_bb)
- sprintf (tmp, "/b%d ", INSN_BB (insn));
+ sprintf (tmp, "%d/b%d", INSN_UID (insn), INSN_BB (insn));
+ else
+ sprintf (tmp, "%d", INSN_UID (insn));
}
return tmp;
}
free (deaths_in_region);
}
+#endif
#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
{
free (visual_tbl);
}
+#endif