win64: adjust for two args with setjmp(buf,ctx)
This commit is contained in:
@ -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
|
||||
/* ---------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user