From fc0329f16f7f07bb009170893ad4e13cb2d77ed7 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Wed, 2 Dec 2020 13:28:15 -0800 Subject: [PATCH] vm: use EXC_ARM_FP_DZ on macosx-arm64. --- vm/os-macosx-arm64.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vm/os-macosx-arm64.hpp b/vm/os-macosx-arm64.hpp index bebf47c984..b7ce384ccc 100644 --- a/vm/os-macosx-arm64.hpp +++ b/vm/os-macosx-arm64.hpp @@ -18,9 +18,9 @@ namespace factor { #define MACH_EXC_STATE_TYPE x86_exception_state64_t #define MACH_EXC_STATE_FLAVOR x86_EXCEPTION_STATE64 #define MACH_EXC_STATE_COUNT x86_EXCEPTION_STATE64_COUNT - -#define MACH_EXC_INTEGER_DIV EXC_I386_DIV - +*/ +#define MACH_EXC_INTEGER_DIV EXC_ARM_FP_DZ +/* #define MACH_THREAD_STATE_TYPE x86_thread_state64_t #define MACH_THREAD_STATE_FLAVOR x86_THREAD_STATE64 #define MACH_THREAD_STATE_COUNT MACHINE_THREAD_STATE_COUNT @@ -151,4 +151,4 @@ static const unsigned JIT_FRAME_SIZE = 32; // omg -} \ No newline at end of file +} -- 2.34.1