Improved performance

This commit is contained in:
Eduard Urbach 2024-06-28 11:45:54 +02:00
parent 9867550c11
commit 81cc7e6a75
Signed by: eduard
GPG key ID: 49226B848C78F6C8
4 changed files with 55 additions and 56 deletions

View file

@ -44,9 +44,9 @@ func Build(args []string) int {
}
if config.Verbose {
for _, function := range result.Used {
function.PrintAsm()
}
result.EachFunction(result.Main, map[*build.Function]bool{}, func(f *build.Function) {
f.PrintAsm()
})
}
if dry {