aboutsummaryrefslogtreecommitdiff
path: root/src/ir.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.cpp
parent26f11f12aba9176b567fac2bb809e1b821a4ef93 (diff)
Fix polymorphic procedure generation with debug information
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 4ac59b647..e11d1a054 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -2712,7 +2712,7 @@ void ir_value_set_debug_location(irProcedure *proc, irValue *v) {
gb_printf_err("\t%.*s\n", LIT(instr->DebugDeclare.entity->token.string));
}
}
- GB_PANIC("Value wihout debug location: %.*s %p; %p", LIT(proc->name), proc->entity, v);
+ GB_PANIC("Value without debug location: %.*s %p; %p :: %s", LIT(proc->name), proc->entity, v, type_to_string(proc->type));
}
}
}