summaryrefslogtreecommitdiff
path: root/gcc/sel-sched-dump.h
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-01 22:22:57 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-01 22:22:57 +0000
commit9e169c4bf36a38689550c059570c57efbf00a6fb (patch)
tree95e6800f7ac2a49ff7f799d96f04172320e70ac0 /gcc/sel-sched-dump.h
parent6170dfb6edfb7b19f8ae5209b8f948fe0076a4ad (diff)
downloadgcc-vect256.tar.gz
Merged trunk at revision 161680 into branch.vect256
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/vect256@161681 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sel-sched-dump.h')
-rw-r--r--gcc/sel-sched-dump.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/gcc/sel-sched-dump.h b/gcc/sel-sched-dump.h
index d4ebd779a7a..52d7aea693a 100644
--- a/gcc/sel-sched-dump.h
+++ b/gcc/sel-sched-dump.h
@@ -177,34 +177,13 @@ extern void dump_insn_1 (insn_t, int);
extern void dump_insn (insn_t);
extern void debug_insn (insn_t);
-extern void sel_prepare_string_for_dot_label (char *);
-
/* When this flag is on, we are dumping to the .dot file.
When it is off, we are dumping to log. */
extern bool sched_dump_to_dot_p;
-
-/* This macro acts like printf but dumps information to the .dot file.
- Used when dumping control flow. */
-#define sel_print_to_dot(...) \
- do { \
- int __j = 1 + 2 * snprintf (NULL, 0, __VA_ARGS__); \
- char *__s = XALLOCAVEC (char, __j); \
- snprintf (__s, __j, __VA_ARGS__); \
- sel_prepare_string_for_dot_label (__s); \
- fprintf (sched_dump, "%s", __s); \
- } while (0)
-
-/* This macro acts like printf but dumps to the sched_dump file. */
-#define sel_print(...) \
- do { \
- if (sched_dump_to_dot_p) \
- sel_print_to_dot (__VA_ARGS__); \
- else \
- fprintf (sched_dump, __VA_ARGS__); \
- } while (0)
/* Functions from sel-sched-dump.c. */
+extern void sel_print (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
extern const char * sel_print_insn (const_rtx, int);
extern void free_sel_dump_data (void);