]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
getjitcputbl() and uaegetjitcputbl() are only useful if JIT is enabled
authorThomas Huth <huth@tuxfamily.org>
Sat, 22 Aug 2020 08:01:54 +0000 (10:01 +0200)
committerThomas Huth <huth@tuxfamily.org>
Sat, 22 Aug 2020 08:01:54 +0000 (10:01 +0200)
newcpu.cpp

index 32adbe34ba4e569f2d519964ffb54ec36c55d2f1..bfc1f6d73b149367537a76f87352b80463c3c0d8 100644 (file)
@@ -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;