aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-11-08 11:13:46 +0000
committergingerBill <bill@gingerbill.org>2022-11-08 11:13:46 +0000
commit810a1eee41cc8e047759c8934af70d6e68113082 (patch)
treee24c9cd4ae4e63997ae5ffd636b55d923adc2e8e /src/types.cpp
parente3e225d21b613d789ebad0273b198b5509800bf0 (diff)
Remove the need for `type->Map.internal_type` and replace with the definition of `runtime.Raw_Map`
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 220d1a6ab..9b2fd30d4 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -226,7 +226,6 @@ struct TypeProc {
TYPE_KIND(Map, struct { \
Type *key; \
Type *value; \
- Type *internal_type; \
Type *lookup_result_type; \
}) \
TYPE_KIND(Struct, TypeStruct) \
@@ -686,6 +685,7 @@ gb_global Type *t_source_code_location_ptr = nullptr;
gb_global Type *t_map_info = nullptr;
gb_global Type *t_map_cell_info = nullptr;
+gb_global Type *t_raw_map = nullptr;
gb_global Type *t_equal_proc = nullptr;