mirror of
https://github.com/golang/go
synced 2024-11-26 16:36:49 -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:
parent
c837761b52
commit
2d03b5b572
@ -775,7 +775,7 @@ func esc(e *EscState, n *Node, up *Node) {
|
|||||||
}
|
}
|
||||||
// arguments leak out of scope
|
// arguments leak out of scope
|
||||||
// TODO: leak to a dummy node instead
|
// 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.Left, "defer func")
|
||||||
|
|
||||||
escassignSinkNilWhy(e, n, n.Left.Right, "defer func ...") // ODDDARG for call
|
escassignSinkNilWhy(e, n, n.Left.Right, "defer func ...") // ODDDARG for call
|
||||||
|
Loading…
Reference in New Issue
Block a user