From: Frode Solheim Date: Sun, 6 Sep 2015 20:49:50 +0000 (+0200) Subject: JIT: do not enable exception handler for x86-64 yet X-Git-Tag: 3200~79^2~3 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0835c0e57e35d2667e4a4474504e2998ca944aa1;p=francis%2Fwinuae.git JIT: do not enable exception handler for x86-64 yet --- diff --git a/jit/compemu.h b/jit/compemu.h index 822d2950..46719193 100644 --- a/jit/compemu.h +++ b/jit/compemu.h @@ -7,6 +7,10 @@ typedef uae_u64 uintptr; typedef uae_u32 uintptr; #endif +#ifndef CPU_x86_64 +#define JIT_EXCEPTION_HANDLER +#endif + /* ARAnyM uses fpu_register name, used in scratch_t */ /* FIXME: check that no ARAnyM code assumes different floating point type */ typedef fptype fpu_register; diff --git a/jit/compemu_support.cpp b/jit/compemu_support.cpp index 16032e68..e5fcf282 100644 --- a/jit/compemu_support.cpp +++ b/jit/compemu_support.cpp @@ -3263,8 +3263,10 @@ void alloc_cache(void) cache_free(compiled_code); compiled_code = 0; } +#ifdef JIT_EXCEPTION_HANDLER if (veccode == NULL) veccode = cache_alloc (256); +#endif compiled_code = NULL; if (cache_size == 0)