cvsuser     04/12/01 00:10:35

  Modified:    imcc     cfg.c main.c
  Log:
  oops - forgot to change one fatal
  
  Revision  Changes    Path
  1.67      +0 -8      parrot/imcc/cfg.c
  
  Index: cfg.c
  ===================================================================
  RCS file: /cvs/public/parrot/imcc/cfg.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- cfg.c     30 Nov 2004 09:35:10 -0000      1.66
  +++ cfg.c     1 Dec 2004 08:10:34 -0000       1.67
  @@ -908,14 +908,6 @@
       sort_loops(interpreter, unit);
       if (interpreter->imc_info->debug & DEBUG_CFG)
           dump_loops(unit);
  -#if 0
  -    /* when a branch goes to the subroutine entry, this may happen
  -     * so its not an error
  -     */
  -    if (unit->bb_list[0]->loop_depth) {
  -        fatal(1, "find_loops", "basic_block 0 in loop\n");
  -    }
  -#endif
   }
   
   /* Incresases the loop_depth of all the nodes in a loop */
  
  
  
  1.88      +1 -1      parrot/imcc/main.c
  
  Index: main.c
  ===================================================================
  RCS file: /cvs/public/parrot/imcc/main.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -u -r1.87 -r1.88
  --- main.c    30 Nov 2004 10:28:51 -0000      1.87
  +++ main.c    1 Dec 2004 08:10:35 -0000       1.88
  @@ -484,7 +484,7 @@
               Parrot_setup_opt(interp, 0, output);
               Parrot_set_run_core(interp, PARROT_EXEC_CORE);
   #else
  -            fatal(1, "main", "can't produce object file");
  +            IMCC_fatal(interp, 1, "main: can't produce object file");
   #endif
           }
           if (!strcmp(sourcefile, output) && strcmp(sourcefile, "-"))
  
  
  

Reply via email to