fixed some depencies between irdump.c and irdumptxt.c
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 18 Nov 2004 17:47:53 +0000 (17:47 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 18 Nov 2004 17:47:53 +0000 (17:47 +0000)
[r4436]

ir/ir/irdump.c
ir/ir/irdump_t.h
ir/ir/irdumptxt.c

index 68eb278..01b2d91 100644 (file)
@@ -23,7 +23,6 @@
 #include "entity_t.h"
 #include "irop_t.h"
 
-#include "irdump.h"
 #include "irdump_t.h"
 
 #include "irgwalk.h"
@@ -463,10 +462,10 @@ void dump_pointer_values_to_info(bool b) {
 /* Routines to dump information about a single ir node.            */
 /*-----------------------------------------------------------------*/
 
-/**
+/*
  * dump the name of a node n to the File F.
  */
-static INLINE int
+int
 dump_node_opcode(FILE *F, ir_node *n)
 {
   int bad = 0;
index 832c2e1..8433923 100644 (file)
@@ -3,7 +3,7 @@
 #ifndef __IRDUMPT_T_H__
 #define __IRDUMPT_T_H__
 
-#include "firm_common_t.h"
+#include "irdump.h"
 
 /* Attributes of nodes */
 #define PRINT_DEFAULT_NODE_ATTR
@@ -76,5 +76,10 @@ void dump_vcg_header(FILE *F, const char *name, const char *orientation);
 const char *get_irg_dump_name(ir_graph *irg);
 void vcg_close (FILE *F);
 
+/**
+ * dump the name of a node n to the File F.
+ */
+int
+dump_node_opcode(FILE *F, ir_node *n);
 
 #endif /* __IRDUMPT_T_H__ */
index c86df9d..477dbc6 100644 (file)
@@ -14,7 +14,7 @@
 #include <stdlib.h>
 #include <stdarg.h>
 
-#include "irdump.h"
+#include "irdump_t.h"
 
 #include "firm_common_t.h"