From b3e6cb7db0be54e94562920fe6e2da9fb4e9297a Mon Sep 17 00:00:00 2001 From: Frode Solheim Date: Fri, 18 Sep 2015 18:21:33 +0200 Subject: [PATCH] JIT: Fix toggling JIT on/off on the fly --- jit/compemu_support.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jit/compemu_support.cpp b/jit/compemu_support.cpp index ab002a7e..939d6260 100644 --- a/jit/compemu_support.cpp +++ b/jit/compemu_support.cpp @@ -3703,10 +3703,10 @@ static inline void create_popalls(void) if ((popallspace = alloc_code(POPALLSPACE_SIZE)) == NULL) { jit_abort("Could not allocate popallspace!"); } - vm_protect(popallspace, POPALLSPACE_SIZE, VM_PAGE_READ | VM_PAGE_WRITE); #ifdef UAE } #endif + vm_protect(popallspace, POPALLSPACE_SIZE, VM_PAGE_READ | VM_PAGE_WRITE); int stack_space = STACK_OFFSET; for (i=0;i