Removed unnecessary function

This commit is contained in:
2025-02-12 16:29:45 +01:00
parent be384c5136
commit b32df45289
7 changed files with 25 additions and 40 deletions

View File

@ -75,7 +75,7 @@ func (f *Function) CompileCall(root *expression.Expression) ([]types.Type, error
}
registers := f.CPU.Input[:len(parameters)]
err := f.BeforeCall(fn, parameters, registers)
err := f.ExpressionsToRegisters(parameters, registers, fn.Input)
if err != nil {
return nil, err