Improved assembler
This commit is contained in:
@ -155,7 +155,7 @@ func (f *Function) ExpressionToRegister(root *expression.Expression, register cp
|
||||
|
||||
return nil
|
||||
} else {
|
||||
temporary, _ := f.CPU.FindFree()
|
||||
temporary, _ := f.CPU.FindFree(f.CPU.General)
|
||||
f.CPU.Use(temporary)
|
||||
f.ExpressionToRegister(right, temporary)
|
||||
f.CPU.Free(temporary)
|
||||
|
Reference in New Issue
Block a user