optimize symbol table for IR

This commit is contained in:
Irmen de Jong
2023-12-11 22:51:33 +01:00
parent 08a079a96e
commit f97b3f23e2
14 changed files with 237 additions and 160 deletions
@@ -24,7 +24,7 @@ class TestIRPeepholeOpt: FunSpec({
compTarget = target,
loadAddress = target.machine.PROGRAM_LOAD_ADDRESS
)
val prog = IRProgram("test", IRSymbolTable(null), options, target)
val prog = IRProgram("test", IRSymbolTable(), options, target)
prog.addBlock(block)
prog.linkChunks()
prog.validate()