Add minor optimization for lb_map_cell_index_static

This commit is contained in:
gingerBill
2022-11-11 11:41:28 +00:00
parent 5d47e2a166
commit 0d37da54b4
2 changed files with 11 additions and 6 deletions
-3
View File
@@ -552,9 +552,6 @@ lbValue lb_map_get_proc_for_type(lbModule *m, Type *type) {
vs = lb_emit_conv(p, vs, alloc_type_pointer(type->Map.value));
hs = lb_emit_conv(p, hs, alloc_type_pointer(t_uintptr));
// lbValue res =
// LLVMBuildRet(p->builder, res.value);
lb_emit_jump(p, loop_block);
lb_start_block(p, loop_block);