diff options
| author | gingerBill <bill@gingerbill.org> | 2023-07-28 12:12:06 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-07-28 12:12:06 +0100 |
| commit | f6d1724835489120ae4a3805495dafc97c86db80 (patch) | |
| tree | a3c41697bf7c1362026c33dd14187956b2d06120 /src/tilde_proc.cpp | |
| parent | 0f217c715ecd9fc265b1c6a3d579b99ecf849139 (diff) | |
BODGE for finding procedure symbols
Related to a dependency graph race condition bug (THIS NEEDS TO BE FIXED)
Diffstat (limited to 'src/tilde_proc.cpp')
| -rw-r--r-- | src/tilde_proc.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tilde_proc.cpp b/src/tilde_proc.cpp index 7e751ac82..8cfc564a7 100644 --- a/src/tilde_proc.cpp +++ b/src/tilde_proc.cpp @@ -18,7 +18,7 @@ gb_internal TB_FunctionPrototype *cg_procedure_type_as_prototype(cgModule *m, Ty return proto; } -gb_internal cgProcedure *cg_procedure_create(cgModule *m, Entity *entity, bool ignore_body=false) { +gb_internal cgProcedure *cg_procedure_create(cgModule *m, Entity *entity, bool ignore_body) { GB_ASSERT(entity != nullptr); GB_ASSERT(entity->kind == Entity_Procedure); if (!entity->Procedure.is_foreign) { @@ -385,7 +385,7 @@ gb_internal WORKER_TASK_PROC(cg_procedure_compile_worker_proc) { if ( - // string_starts_with(p->name, str_lit("bug@main")) || + // string_starts_with(p->name, str_lit("runtime@_windows_default_alloc_or_resize")) || false ) { emit_asm = true; @@ -434,7 +434,8 @@ gb_internal void cg_procedure_generate(cgProcedure *p) { if ( - // string_starts_with(p->name, str_lit("bug@main")) || + // string_starts_with(p->name, str_lit("runtime@_windows_default_alloc")) || + // p->name == str_lit("runtime@_windows_default_alloc_or_resize") || false ) { // IR Printing TB_Arena *arena = tb_default_arena(); |