Added more tests
This commit is contained in:
parent
814364612f
commit
4806206500
5 changed files with 65 additions and 3 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue