remove Bit.and, Bit.or

This commit is contained in:
2025-06-29 10:46:27 +02:00
parent 574b9fd37c
commit 0207228c06
2 changed files with 11 additions and 24 deletions

View File

@@ -150,18 +150,6 @@ Bit.rshift:
sar rax, cl
ret
section .text.Bit.and
Bit.and:
mov rax, rdi
and rax, rsi
ret
section .text.Bit.or
Bit.or:
mov rax, rdi
or rax, rsi
ret
section .text.String.nth
String.nth:
movzx rax, byte [rdi + rsi]
@@ -340,7 +328,6 @@ Array.free:
return_type,
body,
} => {
// TODO
if name.lexeme == "main" {
emit!(&mut self.output, "global {}", name.lexeme);
if return_type.lexeme != "I64" {