Every node has now a pinned attribute that is inherited from the op.
[libfirm] / ir / debug / dbginfo.h
index c92da1a..1042a48 100644 (file)
 #include "firm_types.h"
 #include "ident.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @defgroup debug    The Firm interface to debugging support.
  *
@@ -71,12 +75,12 @@ dbg_info *get_entity_dbg_info(entity *ent);
 /**
  * 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.
@@ -105,6 +109,7 @@ typedef enum {
   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;
 
@@ -203,4 +208,8 @@ void default_dbg_info_merge_sets(ir_node **new_nodes, int n_new_nodes,
                             ir_node **old_nodes, int n_old_nodes,
                             dbg_action info);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _DBGINFO_H_ */