refactor: use LabelGenerator for RuntimeErrors

This commit is contained in:
2025-02-28 14:07:00 +00:00
parent 967a6fe58b
commit fb5799dbfd
4 changed files with 91 additions and 86 deletions

View File

@@ -199,8 +199,8 @@ object assemblyIR {
case Global(name) => s".globl $name"
case Text => ".text"
case RoData => ".section .rodata"
case Int(value) => s".int $value"
case Asciz(string) => s".asciz \"$string\""
case Int(value) => s"\t.int $value"
case Asciz(string) => s"\t.asciz \"$string\""
}
}