aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_proc.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/llvm_backend_proc.cpp
parent6dd4d1a9244cb7ba1c819e457d7aef493d5eb482 (diff)
Make `Map_Info` store pointers to cell info rather than inline
Diffstat (limited to 'src/llvm_backend_proc.cpp')
-rw-r--r--src/llvm_backend_proc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp
index a9de7b231..3881790e0 100644
--- a/src/llvm_backend_proc.cpp
+++ b/src/llvm_backend_proc.cpp
@@ -2324,6 +2324,9 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv,
case BuiltinProc_type_hasher_proc:
return lb_get_hasher_proc_for_type(p->module, ce->args[0]->tav.type);
+ case BuiltinProc_type_map_info:
+ return lb_gen_map_info_ptr(p->module, ce->args[0]->tav.type);
+
case BuiltinProc_fixed_point_mul:
case BuiltinProc_fixed_point_div:
case BuiltinProc_fixed_point_mul_sat: