mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 04:50:28 +00:00
Fix regression in _gclongjmp()
This commit is contained in:
parent
da45c7c80b
commit
65f32fad52
12 changed files with 225 additions and 25 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "libc/macros.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/notice.inc"
|
||||
|
||||
#define INITIAL_CAPACITY 4
|
||||
|
||||
// Invokes deferred function calls.
|
||||
|
@ -44,19 +45,17 @@ __gc: decq __garbage(%rip)
|
|||
// </LIMBO>
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
sub $0x20,%rsp
|
||||
sub $16,%rsp
|
||||
push %rax
|
||||
push %rdx
|
||||
movdqa %xmm0,-0x20(%rbp)
|
||||
movdqa %xmm1,-0x10(%rbp)
|
||||
movdqa %xmm0,-16(%rbp)
|
||||
call *%r9
|
||||
movdqa -0x10(%rbp),%xmm1
|
||||
movdqa -0x20(%rbp),%xmm0
|
||||
movdqa -16(%rbp),%xmm0
|
||||
pop %rdx
|
||||
pop %rax
|
||||
leave
|
||||
ret
|
||||
9: call abort
|
||||
9: hlt
|
||||
.endfn __gc,globl,hidden
|
||||
.source __FILE__
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue