mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-25 15:05:00 -07:00
Correct static map get; make get take a pointer to simplify compiler internals
This commit is contained in:
@@ -2319,10 +2319,10 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv,
|
||||
|
||||
|
||||
case BuiltinProc_type_equal_proc:
|
||||
return lb_get_equal_proc_for_type(p->module, ce->args[0]->tav.type);
|
||||
return lb_equal_proc_for_type(p->module, ce->args[0]->tav.type);
|
||||
|
||||
case BuiltinProc_type_hasher_proc:
|
||||
return lb_get_hasher_proc_for_type(p->module, ce->args[0]->tav.type);
|
||||
return lb_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);
|
||||
|
||||
Reference in New Issue
Block a user