aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-03-30 13:46:23 +0000
committergingerBill <bill@gingerbill.org>2024-03-30 13:46:23 +0000
commit8e1a2094a73205f0494295699ccb31f6610728b7 (patch)
treedf52b0cfdca8fda597f31167bb0a2235bbf04006 /src/check_type.cpp
parent9271372fefdd932fee2d18312828bcaf8c7aac94 (diff)
Fix debug info for `map`
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp4
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);