More improvements to minimize code gen size

This commit is contained in:
gingerBill
2025-09-18 20:58:24 +01:00
parent 4b0a07ba27
commit 9cf69576ab
7 changed files with 60 additions and 21 deletions
+3
View File
@@ -985,6 +985,9 @@ __dynamic_map_entry :: proc "odin" (#no_alias m: ^Raw_Map, #no_alias info: ^Map_
// IMPORTANT: USED WITHIN THE COMPILER
@(private)
__dynamic_map_reserve :: proc "odin" (#no_alias m: ^Raw_Map, #no_alias info: ^Map_Info, new_capacity: uint, loc := #caller_location) -> Allocator_Error {
if m == nil {
return nil
}
return map_reserve_dynamic(m, info, uintptr(new_capacity), loc)
}