Fix polymorphic procedure generation with debug information

This commit is contained in:
gingerBill
2018-12-14 15:45:14 +00:00
parent 26f11f12ab
commit 57d4333ed3
3 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ bool ir_print_debug_location(irFileBuffer *f, irModule *m, irValue *v) {
} else {
irProcedure *proc = v->Instr.block->proc;
if (proc->entity != nullptr) {
GB_ASSERT(proc->is_entry_point || (string_compare(proc->name, str_lit(IR_STARTUP_RUNTIME_PROC_NAME)) == 0));
// GB_ASSERT(proc->is_entry_point || (string_compare(proc->name, str_lit(IR_STARTUP_RUNTIME_PROC_NAME)) == 0));
}
}
return false;