History

20070228a make array bounds checks the default in jits

Charles.Forsyth committed 19 years ago

Commit 94548811 parent 467db653 files · +9 −2Browse files

Unified · Split

3 files
  1. CHANGES +3 −0
  2. emu/port/main.c +5 −1
  3. include/version.h +1 −1
CHANGES+3−0
@@ -1,5 +1,8 @@
120070228
2 make array bounds checking the default for on-the-fly compilers (emu/port/main.c)
120070227320070227
2 /include/fcall.h: ensure unsigned promotion to counter ansi sign-extending rules for GBIT644 /include/fcall.h: ensure unsigned promotion to counter ansi sign-extending rules for GBIT64
5 /libmemdraw/draw.c: copy fix to memfillcolor
320070220620070220
4 add 0x92 as chip ID for ether91c111.c7 add 0x92 as chip ID for ether91c111.c
520070217820070217
emu/port/main.c+5−1
@@ -20,6 +20,7 @@ extern int mflag; · 19 unmodified lines
20 char *eve;20 char *eve;
21 int Xsize = 640;21 int Xsize = 640;
22 int Ysize = 480;22 int Ysize = 480;
23 int bflag = 1;
23 int sflag;24 int sflag;
24 int qflag;25 int qflag;
25 int xtblbit;26 int xtblbit;
@@ -126,9 +127,12 @@ option(int argc, char *argv[], void (*badusage)(void)) · 100 unmodified lines
126 if (geom(EARGF(badusage())) == 0)127 if (geom(EARGF(badusage())) == 0)
127 badusage();128 badusage();
128 break;129 break;
129 case 'b': /* jit array bounds checking */130 case 'b': /* (obsolete) jit array bounds checking */
130 bflag = 1;131 bflag = 1;
131 break;132 break;
133 case 'B': /* suppress jit array bounds checks */
134 bflag = 0;
135 break;
132 case 'c': /* Compile on the fly */136 case 'c': /* Compile on the fly */
133 cp = EARGF(badusage());137 cp = EARGF(badusage());
134 if (!isnum(cp))138 if (!isnum(cp))
include/version.h+1−1
@@ -1 +1 @@
1#define VERSION "Fourth Edition (20070227)"1#define VERSION "Fourth Edition (20070228)"