1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:11:22 -07:00

runtime: fix typo in deferprocStack's comments

change "fp" to "fd".

Change-Id: I00e5fafcb68891356d508c49aa89969bfed7ed10
GitHub-Last-Rev: b06f976a3b
GitHub-Pull-Request: golang/go#35557
Reviewed-on: https://go-review.googlesource.com/c/go/+/207038
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
ZYunH 2019-11-13 10:05:37 +00:00 committed by Keith Randall
parent c07511585e
commit 759c5d8ba6

View File

@ -283,7 +283,7 @@ func deferprocStack(d *_defer) {
d.varp = 0
// The lines below implement:
// d.panic = nil
// d.fp = nil
// d.fd = nil
// d.link = gp._defer
// gp._defer = d
// But without write barriers. The first three are writes to