aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/panic.go
diff options
context:
space:
mode:
authorZYunH <zyunhjob@163.com>2019-11-13 10:05:37 +0000
committerKeith Randall <khr@golang.org>2019-11-13 15:24:48 +0000
commit759c5d8ba6a5da7ce2896a44ba27887532ee0a46 (patch)
tree9ccdba7e0cac9df5b773bbfa7808dab9dc04f8f1 /src/runtime/panic.go
parentc07511585e37695d750a1e2efd44033b1160863a (diff)
downloadgo-759c5d8ba6a5da7ce2896a44ba27887532ee0a46.tar.gz
go-759c5d8ba6a5da7ce2896a44ba27887532ee0a46.zip
runtime: fix typo in deferprocStack's comments
change "fp" to "fd". Change-Id: I00e5fafcb68891356d508c49aa89969bfed7ed10 GitHub-Last-Rev: b06f976a3bacc6fc6f1fd0e4fc8c50da9764f736 GitHub-Pull-Request: golang/go#35557 Reviewed-on: https://go-review.googlesource.com/c/go/+/207038 Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/panic.go')
-rw-r--r--src/runtime/panic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go
index 31bf31110f..0823f11e98 100644
--- a/src/runtime/panic.go
+++ b/src/runtime/panic.go
@@ -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