]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/gc/walk.go
[dev.ssa] Merge remote-tracking branch 'origin/master' into ssamerge
[gostls13.git] / src / cmd / compile / internal / gc / walk.go
index 5e1db64df4dc5db786e97278f37f207e5f70d480..09888f8b9e6740b71e5b492ffc42620f70750819 100644 (file)
@@ -2566,7 +2566,7 @@ func paramstoheap(argin **Type, out int) []*Node {
                        // Defer might stop a panic and show the
                        // return values as they exist at the time of panic.
                        // Make sure to zero them on entry to the function.
-                       nn = append(nn, Nod(OAS, nodarg(t, 1), nil))
+                       nn = append(nn, Nod(OAS, nodarg(t, -1), nil))
                }
 
                if v == nil || v.Class&PHEAP == 0 {