Forráskód Böngészése

Fix debug info for `map`

gingerBill 1 éve
szülő
commit
8e1a2094a7
1 módosított fájl, 0 hozzáadás és 4 törlés
  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);