From 6af6918e9699c6fc3883b48b3ad5c7ca3592c5a6 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Wed, 28 Feb 2007 18:50:21 +0000 Subject: 20070228a make array bounds checks the default in jits --- emu/port/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emu/port/main.c') 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)) -- cgit v1.2.3