win64: adjust for two args with setjmp(buf,ctx)

This commit is contained in:
grischka
2009-12-17 18:44:58 +01:00
parent 614790dc14
commit d79b867d55
2 changed files with 10 additions and 0 deletions

View File

@ -56,6 +56,14 @@ P0:
mov (%rax),%rcx /* restore ecx */
jmp *8(%rax)
/* ---------------------------------------------- */
/* avoid msvcrt unwind stuff for setjmp/longjmp */
.globl tinyc_getsp
tinyc_getsp:
xor %rax,%rax
ret
/* ---------------------------------------------- */
#endif
/* ---------------------------------------------- */