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:
Dmitriy Vyukov 2014-08-22 22:13:01 +04:00
parent f4485784f0
commit afb2260491
7 changed files with 108 additions and 2 deletions

View file

@ -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 {