From 0835c0e57e35d2667e4a4474504e2998ca944aa1 Mon Sep 17 00:00:00 2001 From: Frode Solheim Date: Sun, 6 Sep 2015 22:49:50 +0200 Subject: [PATCH] JIT: do not enable exception handler for x86-64 yet --- jit/compemu.h | 4 ++++ jit/compemu_support.cpp | 2 ++ 2 files changed, 6 insertions(+) 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) -- 2.47.3