]> 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 351865f776183d8c1e1c005eb4e03815dda5aef7..6eb1ec35b28c9f653477cebe290afbd801e96cac 100644 (file)
@@ -1,10 +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)))
 }