diff options
| author | gingerBill <bill@gingerbill.org> | 2020-11-29 14:22:42 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-11-29 14:22:42 +0000 |
| commit | 39bed567b34a4bd74f7dfa99dd1ddb4621f67190 (patch) | |
| tree | fae939ebcf343170a3d57f0ee147f7f91c224311 /src/types.cpp | |
| parent | 2e0fd34e59218ea942e4a378b689dc7cd3f844fa (diff) | |
Add intrinsics.type_equal_proc; Make `map` use an internal equal procedure to compare keys
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index 7ca9a3cc2..75783f948 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -690,6 +690,8 @@ gb_global Type *t_map_header = nullptr; gb_global Type *t_vector_x86_mmx = nullptr; +gb_global Type *t_equal_proc = nullptr; + i64 type_size_of (Type *t); i64 type_align_of (Type *t); |