mirror of
https://github.com/golang/go.git
synced 2025-11-07 12:11:00 +00:00
runtime: convert note to Go
Note is required for timers and heap scavenger. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews, khr, rlh https://golang.org/cl/128620043
This commit is contained in:
parent
f4485784f0
commit
afb2260491
7 changed files with 108 additions and 2 deletions
|
|
@ -383,6 +383,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) {
|
|||
" mspan struct{}; m struct{}; lock struct{}; slicetype struct{};" +
|
||||
" iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" +
|
||||
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" +
|
||||
" note struct{};" +
|
||||
")"
|
||||
f, err = parser.ParseFile(fset, filename, src, 0)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue