added missing const
[libfirm] / ir / debug / dbginfo.c
index ef4c96c..809f1d7 100644 (file)
@@ -67,11 +67,11 @@ dbg_info *get_entity_dbg_info(entity *ent) {
 
 /* Routines to access the field of a type containing the
    debugging information. */
-void set_type_dbg_info(type *tp, dbg_info* db) {
+void set_type_dbg_info(ir_type *tp, dbg_info* db) {
   tp->dbi = db;
 }
 
-dbg_info *get_type_dbg_info(type *tp) {
+dbg_info *get_type_dbg_info(ir_type *tp) {
   return tp->dbi;
 }
 
@@ -96,6 +96,7 @@ const char *dbg_action_2_str(dbg_action a) {
   CASE(dbg_read_after_read);
   CASE(dbg_read_a_const);
   CASE(dbg_rem_poly_call);
+  CASE(dbg_dead_code);
   CASE(dbg_opt_confirm);
   default:
     if (a <= dbg_max)