diff options
| author | gingerBill <bill@gingerbill.org> | 2022-11-07 23:02:21 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-11-07 23:02:21 +0000 |
| commit | c96e0afbf1060dc719356b8c82601c45ad688110 (patch) | |
| tree | 0c5ebdc2c4964e0bf4eaff2c94817031a0802a2d /src/checker.cpp | |
| parent | f1c24f434b0e7bf62588171faea76271f22179b9 (diff) | |
Begin work on implementing the new `map` internals
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index dd81e2a48..d5d2c6026 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -2842,12 +2842,12 @@ void init_core_source_code_location(Checker *c) { } void init_core_map_type(Checker *c) { - if (t_map_hash != nullptr) { + if (t_map_info != nullptr) { return; } - t_map_hash = find_core_type(c, str_lit("Map_Hash")); - t_map_header = find_core_type(c, str_lit("Map_Header")); - t_map_header_table = find_core_type(c, str_lit("Map_Header_Table")); + t_map_info = find_core_type(c, str_lit("Map_Info")); + t_map_cell_info = find_core_type(c, str_lit("Map_Cell_Info")); + init_mem_allocator(c); } void init_preload(Checker *c) { |