diff options
Diffstat (limited to 'src/codegen/ssa.cpp')
| -rw-r--r-- | src/codegen/ssa.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/codegen/ssa.cpp b/src/codegen/ssa.cpp index b45bbe5d5..959e3faf8 100644 --- a/src/codegen/ssa.cpp +++ b/src/codegen/ssa.cpp @@ -1348,9 +1348,8 @@ isize ssa_type_info_index(CheckerInfo *info, Type *type) { } } if (entry_index < 0) { - gb_printf_err("%s\n", type_to_string(type)); + compiler_error("Type_Info for `%s` could not be found", type_to_string(type)); } - GB_ASSERT(entry_index >= 0); return entry_index; } |