From 548d0805f738c5f4d5bb7e72334b80c2acff059d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 1 Sep 2014 18:51:12 -0400 Subject: 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 --- src/cmd/api/goapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/api') 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{};" + -- cgit v1.3