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 @@
1+20070228
2+ make array bounds checking the default for on-the-fly compilers (emu/port/main.c)
13 20070227
24 /include/fcall.h: ensure unsigned promotion to counter ansi sign-extending rules for GBIT64
5+ /libmemdraw/draw.c: copy fix to memfillcolor
36 20070220
47 add 0x92 as chip ID for ether91c111.c
58 20070217
emu/port/main.c+5−1
@@ -20,6 +20,7 @@ extern int mflag; · 19 unmodified lines
2020 char *eve;
2121 int Xsize = 640;
2222 int Ysize = 480;
23+ int bflag = 1;
2324 int sflag;
2425 int qflag;
2526 int xtblbit;
@@ -126,9 +127,12 @@ option(int argc, char *argv[], void (*badusage)(void)) · 100 unmodified lines
126127 if (geom(EARGF(badusage())) == 0)
127128 badusage();
128129 break;
129− case 'b': /* jit array bounds checking */
130+ case 'b': /* (obsolete) jit array bounds checking */
130131 bflag = 1;
131132 break;
133+ case 'B': /* suppress jit array bounds checks */
134+ bflag = 0;
135+ break;
132136 case 'c': /* Compile on the fly */
133137 cp = EARGF(badusage());
134138 if (!isnum(cp))
include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20070227)"
1+#define VERSION "Fourth Edition (20070228)"