Improved code generation

This commit is contained in:
Eduard Urbach 2024-07-03 16:37:59 +02:00
parent 5ca086f177
commit 75672c1e16
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 215 additions and 275 deletions

View file

@ -24,7 +24,6 @@ type state struct {
// counter stores how often a certain statement appeared so we can generate a unique label from it.
type counter struct {
loop int
tmps int
}
// PrintInstructions shows the assembly instructions.