ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/cpuopti.c
(Generate patch)

Comparing BasiliskII/src/uae_cpu/cpuopti.c (file contents):
Revision 1.1 by cebix, 1999-10-03T14:16:26Z vs.
Revision 1.2 by cebix, 2001-06-28T21:20:02Z

# Line 27 | Line 27 | struct func {
27   static void oops(void)
28   {
29      fprintf(stderr, "Don't know how to optimize this file.\n");
30 <    abort();
30 >        exit(1);
31   }
32  
33   static char * match(struct line *l, const char *m)
# Line 46 | Line 46 | static int insn_references_reg (struct l
46   {
47      if (reg[0] != 'e') {
48          fprintf(stderr, "Unknown register?!?\n");
49 <        abort();
49 >        exit(1);
50      }
51      if (strstr (l->data, reg) != 0)
52          return 1;
# Line 121 | Line 121 | static void do_function(struct func *f)
121              l3 = l3->prev;
122          }
123          if (l3 == l2)
124 <            abort();
124 >            exit(1);
125          for (l4 = l2; l4 != l3; l4 = l4->prev) {
126              /* The register may not be referenced by any of the insns that we
127               * move the popl past */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines