mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 22:32:13 -04:00
Allow the compiler with slightly older forms of the compiler which only have default_hasher and not default_hasher_fixed
This commit is contained in:
1 parent
0eee2664d8
commit
e774d7954c
3 files changed
+6
-2
No files matched your search
@@ -434,7 +434,7 @@ gb_internal lbValue lb_simple_compare_hash(lbProcedure *p, Type *type, lbValue d
|
||||
args[0] = data;
|
||||
args[1] = seed;
|
||||
args[2] = lb_const_int(p->module, t_int, type_size_of(type));
|
||||
return lb_emit_runtime_call(p, "default_hasher_fixed", args);
|
||||
return lb_emit_runtime_call(p, runtime_default_hasher_fixed_name(p->module->info), args);
|
||||
}
|
||||
|
||||
gb_internal void lb_add_callsite_force_inline(lbProcedure *p, lbValue ret_value) {
|
||||
|
||||
Reference in new issue
Block a user