From baa9697d0d00fac1272700b9d5c375be505274ad Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Sat, 22 Aug 2020 10:01:54 +0200 Subject: [PATCH] getjitcputbl() and uaegetjitcputbl() are only useful if JIT is enabled --- newcpu.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.3