Fix map IR bug
This commit is contained in:
1 parent
cc28cda053
commit
04cce1826b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -7006,7 +7006,7 @@ void ir_build_stmt_internal(irProcedure *proc, AstNode *node) {
|
||||
}
|
||||
irValue *entries_ptr = ir_emit_struct_ep(proc, map, 1);
|
||||
irValue *count_ptr = ir_emit_struct_ep(proc, entries_ptr, 1);
|
||||
ir_build_range_indexed(proc, map, val0_type, count_ptr, &val, &key, &loop, &done);
|
||||
ir_build_range_indexed(proc, map, val1_type, count_ptr, &val, &key, &loop, &done);
|
||||
break;
|
||||
}
|
||||
case Type_Array: {
|
||||
|
||||
Reference in new issue
Block a user