Improved code generation

This commit is contained in:
2024-07-09 17:00:04 +02:00
parent 1204591cdc
commit 4386392844
23 changed files with 201 additions and 95 deletions

View File

@ -24,7 +24,6 @@ func (f *Function) Execute(operation token.Token, register cpu.Register, value *
}
tmp := f.cpu.MustFindFree(f.cpu.General)
f.cpu.Use(tmp)
defer f.cpu.Free(tmp)
err := f.ExpressionToRegister(value, tmp)