mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Fixes to debug info in function pointer declarations. Incorrect x64 ABI code for structs by val. Change "Compiler" to "GlobalContext" storage of all types inside. Call debug symbol correct.
This commit is contained in:
@@ -65,9 +65,10 @@ void gencontext_begin_module(GenContext *c)
|
||||
c->block_global_unique_count = 0;
|
||||
c->ast_alloca_addr_space = target_alloca_addr_space();
|
||||
|
||||
VECEACH(compiler.type, i)
|
||||
VECEACH(global_context.type, i)
|
||||
{
|
||||
compiler.type[i]->backend_type = NULL;
|
||||
global_context.type[i]->backend_type = NULL;
|
||||
global_context.type[i]->backend_debug_type = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user