Added build result struct
This commit is contained in:
parent
2676ac1ebb
commit
03a7651cad
7 changed files with 61 additions and 54 deletions
|
@ -7,6 +7,7 @@ import (
|
|||
"sync"
|
||||
|
||||
"git.akyoto.dev/cli/q/src/build/arch/x64"
|
||||
"git.akyoto.dev/cli/q/src/build/asm"
|
||||
"git.akyoto.dev/cli/q/src/build/cpu"
|
||||
"git.akyoto.dev/cli/q/src/build/fs"
|
||||
"git.akyoto.dev/cli/q/src/build/token"
|
||||
|
@ -231,6 +232,9 @@ func scanFile(path string, functions chan<- *Function) error {
|
|||
Syscall: x64.SyscallRegisters,
|
||||
Return: x64.ReturnValueRegisters,
|
||||
},
|
||||
Assembler: asm.Assembler{
|
||||
Instructions: make([]asm.Instruction, 0, 32),
|
||||
},
|
||||
}
|
||||
|
||||
nameStart = -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue