Fill in more of the llvm_backend code generation

This commit is contained in:
gingerBill
2020-03-05 22:01:07 +00:00
parent db7a3ffd2a
commit 8d2ad0da0e
4 changed files with 458 additions and 172 deletions
-1
View File
@@ -3762,7 +3762,6 @@ irValue *ir_addr_load(irProcedure *proc, irAddr const &addr) {
}
if (addr.kind == irAddr_Map) {
// TODO(bill): map lookup
Type *map_type = base_type(addr.map_type);
irValue *v = ir_add_local_generated(proc, map_type->Map.lookup_result_type, true);
irValue *h = ir_gen_map_header(proc, addr.addr, map_type);