From 57d4333ed3a36778a034f144a6998587d61ed831 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Fri, 14 Dec 2018 15:45:14 +0000 Subject: Fix polymorphic procedure generation with debug information --- src/ir_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir_print.cpp') diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 2536679d0..eadd091bd 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -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; -- cgit v1.2.3