Fix ir for TypeInfo.Map

This commit is contained in:
Ginger Bill
2017-07-30 20:17:25 +01:00
parent a0ae02168a
commit 10ff8e0426

View File

@@ -8248,7 +8248,6 @@ void ir_gen_tree(irGen *s) {
irValue *key = ir_emit_struct_ep(proc, tag, 0);
irValue *value = ir_emit_struct_ep(proc, tag, 1);
irValue *generated_struct = ir_emit_struct_ep(proc, tag, 2);
irValue *count = ir_emit_struct_ep(proc, tag, 3);
ir_emit_store(proc, key, ir_get_type_info_ptr(proc, t->Map.key));
ir_emit_store(proc, value, ir_get_type_info_ptr(proc, t->Map.value));