From 10ff8e042606d44049f4cb91c372d0da2a83ed65 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Sun, 30 Jul 2017 20:17:25 +0100 Subject: [PATCH] Fix ir for TypeInfo.Map --- src/ir.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ir.cpp b/src/ir.cpp index 62603c801..f40266d86 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -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));