From: Thomas Huth Date: Sat, 22 Aug 2020 08:01:54 +0000 (+0200) Subject: getjitcputbl() and uaegetjitcputbl() are only useful if JIT is enabled X-Git-Tag: 4900~328^2^2~1 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=baa9697d0d00fac1272700b9d5c375be505274ad;p=francis%2Fwinuae.git getjitcputbl() and uaegetjitcputbl() are only useful if JIT is enabled --- diff --git a/newcpu.cpp b/newcpu.cpp index 32adbe34..bfc1f6d7 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -1807,6 +1807,8 @@ static const struct cputbl *cputbls[6][8] = { op_smalltbl_0, op_smalltbl_40, op_smalltbl_50, op_smalltbl_24, op_smalltbl_24, op_smalltbl_33, op_smalltbl_33, op_smalltbl_33 } }; +#ifdef JIT + const struct cputbl *uaegetjitcputbl(void) { int lvl = (currprefs.cpu_model - 68000) / 10; @@ -1821,6 +1823,8 @@ const struct cputbl *getjitcputbl(int cpulvl, int direct) return cputbls[cpulvl][1 + direct]; } +#endif + static void build_cpufunctbl (void) { int i, opcnt;