diff options
Diffstat (limited to 'src/cmd/compile')
| -rw-r--r-- | src/cmd/compile/internal/importer/iimport.go | 2 | ||||
| -rw-r--r-- | src/cmd/compile/internal/ir/func.go | 2 | ||||
| -rw-r--r-- | src/cmd/compile/internal/types/sym.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/compile/internal/importer/iimport.go b/src/cmd/compile/internal/importer/iimport.go index 33c46a0f90..8ab0b7b989 100644 --- a/src/cmd/compile/internal/importer/iimport.go +++ b/src/cmd/compile/internal/importer/iimport.go @@ -4,7 +4,7 @@ // license that can be found in the LICENSE file. // Indexed package import. -// See cmd/compile/internal/gc/iexport.go for the export data format. +// See cmd/compile/internal/typecheck/iexport.go for the export data format. package importer diff --git a/src/cmd/compile/internal/ir/func.go b/src/cmd/compile/internal/ir/func.go index 0a9db92d96..c17425a4da 100644 --- a/src/cmd/compile/internal/ir/func.go +++ b/src/cmd/compile/internal/ir/func.go @@ -162,7 +162,7 @@ type ScopeID int32 const ( funcDupok = 1 << iota // duplicate definitions ok - funcWrapper // is method wrapper + funcWrapper // hide frame from users (elide in tracebacks, don't count as a frame for recover()) funcNeedctxt // function uses context register (has closure variables) funcReflectMethod // function calls reflect.Type.Method or MethodByName // true if closure inside a function; false if a simple function or a diff --git a/src/cmd/compile/internal/types/sym.go b/src/cmd/compile/internal/types/sym.go index 0e66ed348b..c689304b34 100644 --- a/src/cmd/compile/internal/types/sym.go +++ b/src/cmd/compile/internal/types/sym.go @@ -32,7 +32,7 @@ type Sym struct { Pkg *Pkg Name string // object name - // saved and restored by dcopy + // saved and restored by Pushdcl/Popdcl Def Object // definition: ONAME OTYPE OPACK or OLITERAL Block int32 // blocknumber to catch redeclaration Lastlineno src.XPos // last declaration for diagnostic |
