From: Michael Beck Date: Thu, 18 Nov 2004 17:47:53 +0000 (+0000) Subject: fixed some depencies between irdump.c and irdumptxt.c X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=216ec19eb92c224f54cdbe848c6ffd0082d2d54d;p=libfirm fixed some depencies between irdump.c and irdumptxt.c [r4436] --- diff --git a/ir/ir/irdump.c b/ir/ir/irdump.c index 68eb278b0..01b2d91d0 100644 --- a/ir/ir/irdump.c +++ b/ir/ir/irdump.c @@ -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; diff --git a/ir/ir/irdump_t.h b/ir/ir/irdump_t.h index 832c2e1d2..8433923dc 100644 --- a/ir/ir/irdump_t.h +++ b/ir/ir/irdump_t.h @@ -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__ */ diff --git a/ir/ir/irdumptxt.c b/ir/ir/irdumptxt.c index c86df9d7a..477dbc6ee 100644 --- a/ir/ir/irdumptxt.c +++ b/ir/ir/irdumptxt.c @@ -14,7 +14,7 @@ #include #include -#include "irdump.h" +#include "irdump_t.h" #include "firm_common_t.h"