From 4698703c01f8eeecba7daa5b39639c094f03198f 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 e574d1cd..52187099 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 }