#include "firm_types.h"
#include "ident.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @defgroup debug The Firm interface to debugging support.
*
/**
* Sets the debug information of a type.
*/
-void set_type_dbg_info(type *tp, dbg_info *db);
+void set_type_dbg_info(ir_type *tp, dbg_info *db);
/**
* Returns the debug information of a type.
*/
-dbg_info *get_type_dbg_info(type *tp);
+dbg_info *get_type_dbg_info(ir_type *tp);
/**
* An enumeration indicating the action performed by a transformation.
dbg_rem_poly_call, /**< Remove polymorphic call. */
dbg_dead_code, /**< Removing unreachable code, I.e. blocks that are never executed. */
dbg_opt_confirm, /**< A Firm subgraph was replace because of a Confirmation */
+ dbg_backend, /**< Backend transformation */
dbg_max /**< Maximum value. */
} dbg_action;
ir_node **old_nodes, int n_old_nodes,
dbg_action info);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _DBGINFO_H_ */