sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.

* sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
        * sched-int.h (print_insn, print_pattern, print_value): Declare also
        when !INSN_SCHEDULING.

From-SVN: r139862
This commit is contained in:
Andrey Belevantsev 2008-09-01 16:38:44 +04:00 committed by Andrey Belevantsev
parent 8a88c2763a
commit dfb0e60d22
3 changed files with 15 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2008-09-01 Andrey Belevantsev <abel@ispras.ru>
* sel-sched-dump.c: Surround with #ifdef INSN_SCHEDULING.
* sched-int.h (print_insn, print_pattern, print_value): Declare also
when !INSN_SCHEDULING.
2008-09-01 Andreas Schwab <schwab@suse.de>
* config/ia64/ia64.c (TARGET_ADDRESS_COST): Update.

View file

@ -157,11 +157,6 @@ extern rtx bb_note (basic_block);
extern void reemit_notes (rtx);
/* Functions in sched-vis.c. */
extern void print_insn (char *, const_rtx, int);
extern void print_pattern (char *, const_rtx, int);
extern void print_value (char *, const_rtx, int);
/* Functions in haifa-sched.c. */
extern int haifa_classify_insn (const_rtx);
@ -1368,4 +1363,10 @@ extern void sd_debug_lists (rtx, sd_list_types_def);
#endif /* INSN_SCHEDULING */
/* Functions in sched-vis.c. These must be outside INSN_SCHEDULING as
sched-vis.c is compiled always. */
extern void print_insn (char *, const_rtx, int);
extern void print_pattern (char *, const_rtx, int);
extern void print_value (char *, const_rtx, int);
#endif /* GCC_SCHED_INT_H */

View file

@ -34,6 +34,8 @@ along with GCC; see the file COPYING3. If not see
#include "output.h"
#include "basic-block.h"
#include "cselib.h"
#ifdef INSN_SCHEDULING
#include "sel-sched-ir.h"
#include "sel-sched-dump.h"
@ -941,5 +943,5 @@ debug_mem_addr_value (rtx x)
debug_rtx (addr);
return t;
}
#endif