]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/cpu-x86.32.hpp
audio.engine.test: cleanup using
[factor.git] / vm / cpu-x86.32.hpp
index a95179a49b611d5ab9bce6a7f5a11d7bc414cfb5..6eb1ec35b28c9f653477cebe290afbd801e96cac 100644 (file)
@@ -1,11 +1,10 @@
-namespace factor
-{
+namespace factor {
 
 #define FACTOR_CPU_STRING "x86.32"
 
-register cell ds asm("esi");
-register cell rs asm("edi");
+// Must match the calculation in word jit-signal-handler-prolog in
+// basis/bootstrap/assembler/x86.factor
+static const unsigned SIGNAL_HANDLER_STACK_FRAME_SIZE = 64;
+static const unsigned JIT_FRAME_SIZE = 32;
 
-#define VM_ASM_API VM_C_API __attribute__ ((regparm (2)))
-#define VM_ASM_API_OVERFLOW VM_C_API __attribute__ ((regparm (3)))
 }