Skip to content

Commit baf46bc

Browse files
authored
Merge branch 'main' into instruction-magic
2 parents fd330a0 + 873d000 commit baf46bc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

langs/a86/ast.rkt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
(values a x)))
3131

3232
(define check:cmov
33-
(λ (a1 a2 n)
33+
(λ (a a1 a2 n)
3434
(unless (register? a1)
3535
(error n "expects register; given ~v" a1))
3636
(unless (or (register? a2) (offset? a2))
3737
(error n "expects register or offset; given ~v" a2))
38-
(values a1 a2)))
38+
(values a a1 a2)))
3939

4040
(define check:arith
4141
(λ (a a1 a2 n)
@@ -263,7 +263,6 @@
263263
(nasm-label? x)
264264
(not (register? x))))
265265

266-
267266
(provide (rename-out [a86:instruction? instruction?]))
268267
(define (a86:instruction? x)
269268
(or (instruction? x)

0 commit comments

Comments
 (0)