Turn if cascade into switch.
[libfirm] / ir / be / be_dbgout_t.h
index cc859ab..19498b1 100644 (file)
@@ -22,7 +22,6 @@
  * @brief   Debug output support.
  * @author  Michael Beck
  * @date    11.9.2006
- * @version $Id: be_dbgout.h 17143 2008-01-02 20:56:33Z beck $
  */
 #ifndef FIRM_BE_BE_DBGOUT_T_H
 #define FIRM_BE_BE_DBGOUT_T_H
@@ -41,14 +40,14 @@ typedef struct debug_ops {
        /** close the stabs handler. */
        void (*close)(dbg_handle *handle);
 
-       /** start a new source object (compilation unit) */
-       void (*so)(dbg_handle *handle, const char *filename);
+       /** start a compilation unit */
+       void (*unit_begin)(dbg_handle *handle, const char *filename);
 
-       /** Main Program */
-       void (*main_program)(dbg_handle *handle);
+       /** end compilation unit */
+       void (*unit_end)(dbg_handle *handle);
 
        /** dumps the stabs for a method begin */
-       void (*method_begin)(dbg_handle *handle, const ir_entity *ent, const be_stack_layout_t *layout);
+       void (*method_begin)(dbg_handle *handle, const ir_entity *ent);
 
        /** dumps the stabs for a method end */
        void (*method_end)(dbg_handle *handle);