From 4e8d2c03a3e259a047123320211b826344d7c913 Mon Sep 17 00:00:00 2001 From: Peter Waller Date: Sat, 23 Feb 2019 20:03:46 +0000 Subject: [PATCH] Add missing inst.Type() Updates #67. --- ir/inst_aggregate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ir/inst_aggregate.go b/ir/inst_aggregate.go index 71115713..c113836c 100644 --- a/ir/inst_aggregate.go +++ b/ir/inst_aggregate.go @@ -98,6 +98,7 @@ func NewInsertValue(x, elem value.Value, indices ...uint64) *InstInsertValue { } inst := &InstInsertValue{X: x, Elem: elem, Indices: indices} // Compute type. + inst.Type() return inst }