making IR file reader

This commit is contained in:
Irmen de Jong
2022-08-28 16:43:15 +02:00
parent 12ed07a607
commit 3c315703c0
12 changed files with 905 additions and 113 deletions
@@ -72,7 +72,7 @@ class CodeGen(internal val program: PtProgram,
optimizer.optimize()
}
println("Vm codegen: virtual registers=${vmRegisters.peekNext()} memory usage=${allocations.freeMem}")
println("Vm codegen: memory usage=${allocations.freeMem}")
return vmprog
}