Skip to content

Commit

Permalink
Add missing inst.Type()
Browse files Browse the repository at this point in the history
Updates #67.
  • Loading branch information
pwaller committed Feb 24, 2019
1 parent 79d4e4b commit 4e8d2c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ir/inst_aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 4e8d2c0

Please sign in to comment.