Skip to content

Commit

Permalink
runtime: fix typo in deferprocStack's comments
Browse files Browse the repository at this point in the history
change "fp" to "fd".

Change-Id: I00e5fafcb68891356d508c49aa89969bfed7ed10
GitHub-Last-Rev: b06f976
GitHub-Pull-Request: #35557
Reviewed-on: https://go-review.googlesource.com/c/go/+/207038
Reviewed-by: Keith Randall <khr@golang.org>
  • Loading branch information
zhangyunhao116 authored and randall77 committed Nov 13, 2019
1 parent c075115 commit 759c5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/panic.go
Expand Up @@ -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
Expand Down

0 comments on commit 759c5d8

Please sign in to comment.