Fix C/should_fail/init2.c: if there is no outer_type (error case), just go on.
[cparser] / driver / firm_codegen.c
index 941f559..dd44a6f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Compile when BACK_END_IS_CP_FIRM_BE is defined
  *
- * (C) 2005  Michael Beck  beck@ipd.info.uni-karlsruhe.de
+ * (C) 2005-2009  Michael Beck  beck@ipd.info.uni-karlsruhe.de
  *
  * $Id$
  */
@@ -71,19 +71,19 @@ void do_codegen(FILE *out, const char *file_name) {
   switch (firm_be_opt.selection) {
 #ifdef FIRM2C_BACKEND
   case BE_FIRM2C:
-    timer_push(TV_FIRM2C_BE);
+    timer_start(TV_FIRM2C_BE);
       cbackend_set_debug_retrieve(dbg_retrieve);
       generate_code_file(out);
-    timer_pop();
+    timer_stop(TV_FIRM2C_BE);
     break;
 #endif
 
 #ifdef FIRM_BACKEND
   case BE_FIRM_BE:
-    timer_push(TV_FIRM_BE);
+    timer_start(TV_FIRM_BE);
       ir_set_debug_retrieve(dbg_retrieve);
       be_main(out, file_name);
-    timer_pop();
+    timer_stop(TV_FIRM_BE);
     break;
 #endif