We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b36bdd commit d5bff6aCopy full SHA for d5bff6a
langs/loot/compile.rkt
@@ -300,7 +300,8 @@
300
(Push rcx)
301
302
; Actually call the function
303
- (Call (Offset rax 0))
+ (Mov rax (Offset rax 0))
304
+ (Call rax)
305
306
; Get the size of the env off the stack
307
(Pop rcx)
@@ -476,7 +477,7 @@
476
477
[(Lam lab as body)
478
(let ((ys (fvs l)))
479
(seq
- (Lea rax (Offset (symbol->label lab) 0))
480
+ (Lea rax (symbol->label lab))
481
(Mov (Offset rbx 0) rax)
482
(Mov rax (length ys))
483
(Mov (Offset rbx 8) rax)
langs/loot/unload-bits-asm.rkt
@@ -7,8 +7,7 @@
7
(define (unload/free a)
8
(match a
9
['err 'err]
10
- [(cons h v) (begin0 (unload-value v)
11
- (free h))]))
+ [(cons h v) (unload-value v)]))
12
13
;; Value* -> Value
14
(define (unload-value v)
0 commit comments