cleanup - declaring functions without defining them, etc.

This commit is contained in:
pommicket 2022-02-07 15:16:26 -05:00
parent 9372a72d43
commit 4b6fe5266a
3 changed files with 51 additions and 30 deletions

View file

@ -49,9 +49,7 @@ global output_file_data
; ident list of global variables. each one is stored as
; (type << 32) | address
global global_variables
; ident list of functions. each entry is a pointer two statements
; - the first one is a STATEMENT_LOCAL_DECLARATION (with dat2=dat3=dat4=0), which is only there to set rsp properly because of parameters
; - the second one is the function body (a STATEMENT_BLOCK)
; ident list of functions. each entry is a pointer to a statement (specifically, a STATEMENT_BLOCK)
global function_statements
; ident list mapping function names to function types (TYPE_FUNCTION {...})
global function_types