aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-12-14 15:45:14 +0000
committergingerBill <bill@gingerbill.org>2018-12-14 15:45:14 +0000
commit57d4333ed3a36778a034f144a6998587d61ed831 (patch)
treec4e8ca307f5ff4fc3ae45822d748df4744f476a9 /src/ir_print.cpp
parent26f11f12aba9176b567fac2bb809e1b821a4ef93 (diff)
Fix polymorphic procedure generation with debug information
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp2
1 files changed, 1 insertions, 1 deletions
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;