From 8e1a2094a73205f0494295699ccb31f6610728b7 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sat, 30 Mar 2024 13:46:23 +0000 Subject: Fix debug info for `map` --- src/check_type.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/check_type.cpp') 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); -- cgit v1.2.3