]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-macosx-arm64.hpp
Merge branch 'factor:master' into feature-vm-prepare-image-reserved-fields
[factor.git] / vm / os-macosx-arm64.hpp
index b7ce384ccc9720f409f236653e6c532c425f60de..78427d122ee78e1cc469af2230950beca691b309 100644 (file)
@@ -143,8 +143,15 @@ inline static unsigned int fpu_status(unsigned int status) {
   return r;
 }
 
+// Must match the stack-frame-size constant in bootstrap/assembler/arm.64.factor
+static const unsigned JIT_FRAME_SIZE = 64;
 
-static const unsigned JIT_FRAME_SIZE = 32; // omg
+// last byte of X9 BR in absolute-call
+static const unsigned char call_opcode = 0x14;
+// last byte of 12 Br in absolute-jump
+static const unsigned char jmp_opcode = 0xd6;
+
+static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 288;