Added more tests

This commit is contained in:
Eduard Urbach 2024-07-17 19:50:46 +02:00
parent 814364612f
commit 4806206500
Signed by: eduard
GPG key ID: 49226B848C78F6C8
5 changed files with 65 additions and 3 deletions

View file

@ -48,7 +48,6 @@ func (f *Function) AddVariable(variable *Variable) {
variable.Scope = scope
scope.variables[variable.Name] = variable
scope.Reserve(variable.Register)
scope.Use(variable.Register)
}