diff options
author | Russ Cox <rsc@golang.org> | 2014-09-01 18:51:12 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-01 18:51:12 -0400 |
commit | 548d0805f738c5f4d5bb7e72334b80c2acff059d (patch) | |
tree | 46e6202941a339e08fe7d57553fa9a0957add949 /src/cmd/api/goapi.go | |
parent | 60be96217d4192312295c89731ab1239a73235e7 (diff) | |
download | go-git-548d0805f738c5f4d5bb7e72334b80c2acff059d.tar.gz |
runtime: convert mprof.goc to mprof.go
The exported Go definitions appearing in mprof.go are
copied verbatim from debug.go.
The unexported Go funcs and types are new.
The C Bucket type used a union and was not a line-for-line translation.
LGTM=remyoudompheng
R=golang-codereviews, remyoudompheng
CC=dvyukov, golang-codereviews, iant, khr, r
https://golang.org/cl/137040043
Diffstat (limited to 'src/cmd/api/goapi.go')
-rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 65b9aaa094..99d41c9d69 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -382,7 +382,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { " maptype struct{}; _type struct{}; alg struct{};" + " mspan struct{}; m struct{}; mutex struct{}; slicetype struct{};" + " iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" + - " mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" + + " mcache struct{}; sudog struct{}; g struct{};" + " hchan struct{}; chantype struct{}; waitq struct{};" + " note struct{}; wincallbackcontext struct{};" + " gobuf struct{}; funcval struct{}; _func struct{};" + |