From: Michael Beck Date: Wed, 19 Oct 2005 16:51:03 +0000 (+0000) Subject: uses firm_types.h now X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=371fc078efd77a80022e8ac43bcc00a96c201d4e;p=libfirm uses firm_types.h now [r6758] --- diff --git a/ir/debug/dbginfo.h b/ir/debug/dbginfo.h index fc93be889..c92da1afc 100644 --- a/ir/debug/dbginfo.h +++ b/ir/debug/dbginfo.h @@ -3,7 +3,7 @@ * File name: ir/debug/dbginfo.h * Purpose: Implements the Firm interface to debug information. * Author: Goetz Lindenmaier - * Modified by: + * Modified by: Michael Beck * Created: 2001 * CVS-ID: $Id$ * Copyright: (c) 2001-2003 Universität Karlsruhe @@ -11,43 +11,28 @@ */ /** -* @file dbginfo.h -* -* This is the Firm interface to debugging support. -* -* @author Goetz Lindenmaier -* -* Firm requires a debugging module fulfilling this interface, else no -* debugging information is passed to the backend. -* The interface requires a datatype representing the debugging -* information. Firm supports administrating a reference to the debug -* information in every firm node. Further Firm optimizations call -* routines to propagate debug information from old nodes to new nodes -* if the optimization replaces the old ones by the new ones. -* -*/ + * @file dbginfo.h + * + * This is the Firm interface to debugging support. + * + * @author Goetz Lindenmaier + * + * Firm requires a debugging module fulfilling this interface, else no + * debugging information is passed to the backend. + * The interface requires a datatype representing the debugging + * information. Firm supports administrating a reference to the debug + * information in every firm node. Further Firm optimizations call + * routines to propagate debug information from old nodes to new nodes + * if the optimization replaces the old ones by the new ones. + * + */ -# ifndef _DBGINFO_H_ -# define _DBGINFO_H_ +#ifndef _DBGINFO_H_ +#define _DBGINFO_H_ +#include "firm_types.h" #include "ident.h" -#ifndef _IR_NODE_TYPEDEF_ -#define _IR_NODE_TYPEDEF_ -typedef struct ir_node ir_node; -#endif - -/* to resolve recursion between entity.h and type.h */ -#ifndef _ENTITY_TYPEDEF_ -#define _ENTITY_TYPEDEF_ -typedef struct entity entity; -#endif - -#ifndef _TYPE_TYPEDEF_ -#define _TYPE_TYPEDEF_ -typedef struct type type; -#endif - /** * @defgroup debug The Firm interface to debugging support. * diff --git a/ir/ir/irmode.h b/ir/ir/irmode.h index 17a3a677e..9d78f0b34 100644 --- a/ir/ir/irmode.h +++ b/ir/ir/irmode.h @@ -29,13 +29,9 @@ #ifndef _IRMODE_H_ #define _IRMODE_H_ +#include "firm_types.h" #include "ident.h" -#ifndef _TARVAL_TYPEDEF_ -#define _TARVAL_TYPEDEF_ - typedef struct tarval tarval; -#endif - /** * Contains relevant information about a mode. *