Added build result struct
This commit is contained in:
parent
2676ac1ebb
commit
03a7651cad
7 changed files with 61 additions and 54 deletions
|
@ -43,7 +43,7 @@ func Build(args []string) int {
|
|||
}
|
||||
|
||||
if config.Verbose {
|
||||
for _, function := range result {
|
||||
for _, function := range result.Functions {
|
||||
function.PrintAsm()
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ func Build(args []string) int {
|
|||
}
|
||||
|
||||
path := b.Executable()
|
||||
code, data := build.Finalize(result)
|
||||
code, data := result.Finalize()
|
||||
err = build.Write(path, code, data)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue