diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-02-28 18:50:21 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-02-28 18:50:21 +0000 |
| commit | 6af6918e9699c6fc3883b48b3ad5c7ca3592c5a6 (patch) | |
| tree | 1e422d9663106fa2f7d33b51ac95c63734eb59f2 | |
| parent | f8b3fca729ca830470878fc31d6d43aff91806f9 (diff) | |
20070228a make array bounds checks the default in jits
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | emu/port/main.c | 6 | ||||
| -rw-r--r-- | include/version.h | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,8 @@ +20070228 + make array bounds checking the default for on-the-fly compilers (emu/port/main.c) 20070227 /include/fcall.h: ensure unsigned promotion to counter ansi sign-extending rules for GBIT64 + /libmemdraw/draw.c: copy fix to memfillcolor 20070220 add 0x92 as chip ID for ether91c111.c 20070217 diff --git a/emu/port/main.c b/emu/port/main.c index f4cb9490..35f2a7ec 100644 --- a/emu/port/main.c +++ b/emu/port/main.c @@ -20,6 +20,7 @@ extern int mflag; char *eve; int Xsize = 640; int Ysize = 480; + int bflag = 1; int sflag; int qflag; int xtblbit; @@ -126,9 +127,12 @@ option(int argc, char *argv[], void (*badusage)(void)) if (geom(EARGF(badusage())) == 0) badusage(); break; - case 'b': /* jit array bounds checking */ + case 'b': /* (obsolete) jit array bounds checking */ bflag = 1; break; + case 'B': /* suppress jit array bounds checks */ + bflag = 0; + break; case 'c': /* Compile on the fly */ cp = EARGF(badusage()); if (!isnum(cp)) diff --git a/include/version.h b/include/version.h index 62d5bc0c..7b71e4c5 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20070227)" +#define VERSION "Fourth Edition (20070228)" |
