소스 검색

Fix debug info for `map`

gingerBill 1 년 전
부모
커밋
8e1a2094a7
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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);