]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/cpu-x86.32.hpp
io.streams.256color: faster by caching styles
[factor.git] / vm / cpu-x86.32.hpp
old mode 100755 (executable)
new mode 100644 (file)
index 902b33b..6eb1ec3
@@ -1,11 +1,10 @@
-namespace factor
-{
+namespace factor {
 
 #define FACTOR_CPU_STRING "x86.32"
 
-register cell ds asm("esi");
-register cell rs asm("edi");
-
-#define VM_ASM_API VM_C_API __attribute__ ((regparm (2)))
+// 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;
 
 }