diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-30 13:46:23 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-30 13:46:23 +0000 |
| commit | 8e1a2094a73205f0494295699ccb31f6610728b7 (patch) | |
| tree | df52b0cfdca8fda597f31167bb0a2235bbf04006 /src/check_type.cpp | |
| parent | 9271372fefdd932fee2d18312828bcaf8c7aac94 (diff) | |
Fix debug info for `map`
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 2846aae86..609b73229 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2477,10 +2477,6 @@ gb_internal Type *get_map_cell_type(Type *type) { return type; } - if (is_power_of_two(len)) { - return type; - } - i64 padding = size - len*elem_size; GB_ASSERT(padding > 0); |