aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
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);