Browse Source

Fix debug info for `map`

gingerBill 1 year ago
parent
commit
8e1a2094a7
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/check_type.cpp

+ 0 - 4
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);