1
0
mirror of https://github.com/golang/go synced 2024-11-26 14:08:37 -07:00

cmd/compile: fix comment

Change-Id: I32fd5c36f055fdb1dfe56524085676aa4111089a
Reviewed-on: https://go-review.googlesource.com/20830
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
Ingo Oeser 2016-03-17 20:40:02 +01:00 committed by David Chase
parent c837761b52
commit 2d03b5b572

View File

@ -775,7 +775,7 @@ func esc(e *EscState, n *Node, up *Node) {
}
// arguments leak out of scope
// TODO: leak to a dummy node instead
// go f(x) - f and x escape
// defer f(x) - f and x escape
escassignSinkNilWhy(e, n, n.Left.Left, "defer func")
escassignSinkNilWhy(e, n, n.Left.Right, "defer func ...") // ODDDARG for call