]> gitweb.factorcode.org Git - factor.git/blob - vm/os-windows.64.hpp
vm: store stack frame size in code blocks
[factor.git] / vm / os-windows.64.hpp
1 #include "atomic-cl-64.hpp"
2
3 namespace factor
4 {
5
6 #define ESP Rsp
7 #define EIP Rip
8
9 #define MXCSR(ctx) (ctx)->MxCsr
10
11 /* Must match the leaf-stack-frame-size and stack-frame-size constants
12 in basis/cpu/x86/64/windows/bootstrap.factor */
13
14 static const unsigned LEAF_FRAME_SIZE = 32;
15 static const unsigned JIT_FRAME_SIZE = 64;
16 }