Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hopefully fix MVM_jit_emit_runcode on Windows
Windows requires structs and other aggregates to be put into caller allocated memory and a pointer to this memory passed as an ordinary argument. On POSIX we put the struct's fields individually onto the stack. Since the stack is memory and as such guaranteed to be available until the caller exits, we can use it for Windows as well. So all that should be needed is that pointer. Completely untested, as I don't have Windows available.
- Loading branch information