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 /emu | |
| parent | f8b3fca729ca830470878fc31d6d43aff91806f9 (diff) | |
20070228a make array bounds checks the default in jits
Diffstat (limited to 'emu')
| -rw-r--r-- | emu/port/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
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)) |
