Compute frame types for binary wrapper around closures

This commit is contained in:
Marc Vertes
2018-12-03 12:05:42 +01:00
parent 4eab01911e
commit e508591277

View File

@@ -641,6 +641,9 @@ func getIndexMap2(n *Node) {
func getFunc(n *Node) {
i := n.findex
next := getExec(n.tnext)
if len(n.types) == 0 {
n.types = frameTypes(n, n.flen)
}
n.exec = func(f *Frame) Builtin {
frame := *f