uses firm_types.h now
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Oct 2005 16:51:03 +0000 (16:51 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Oct 2005 16:51:03 +0000 (16:51 +0000)
[r6758]

ir/debug/dbginfo.h
ir/ir/irmode.h

index fc93be8..c92da1a 100644 (file)
@@ -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
  */
 
 /**
-* @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.
  *
index 17a3a67..9d78f0b 100644 (file)
 #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.
  *