aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-11-08 12:18:36 +0000
committergingerBill <bill@gingerbill.org>2022-11-08 12:18:36 +0000
commited58374964889db91b38fe95db409111819790ca (patch)
tree6607cf40b0685fd9c71c0871c04f01cbbd3f42fb /src/checker.cpp
parent6dd4d1a9244cb7ba1c819e457d7aef493d5eb482 (diff)
Make `Map_Info` store pointers to cell info rather than inline
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index fa3ef245b..5b9e83bda 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -2851,6 +2851,9 @@ void init_core_map_type(Checker *c) {
t_map_info = find_core_type(c, str_lit("Map_Info"));
t_map_cell_info = find_core_type(c, str_lit("Map_Cell_Info"));
t_raw_map = find_core_type(c, str_lit("Raw_Map"));
+
+ t_map_info_ptr = alloc_type_pointer(t_map_info);
+ t_map_cell_info_ptr = alloc_type_pointer(t_map_cell_info);
}
void init_preload(Checker *c) {