Skip to content

Commit 4e1f289

Browse files
committed
Fix up register save.
1 parent 37bba2a commit 4e1f289

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

langs/iniquity-gc/compile.rkt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@
1919
(Label 'entry)
2020
(Push 'rbx)
2121
(Push 'rbp)
22-
(Push 'rbx)
2322
(Mov 'rbp 'rsp) ; save stack base pointer
2423
(Mov rbx rdi) ; recv heap pointer
2524
(compile-e e '())
26-
(Pop 'rbx)
2725
(Pop 'rbp)
28-
(Pop 'rbx)
26+
(Pop 'rbx)
2927
(Ret)
3028
(compile-defines ds)
3129
(Label 'raise_error_align)

0 commit comments

Comments
 (0)