aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ir
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2021-03-19 14:55:23 -0400
committerAustin Clements <austin@google.com>2021-03-29 18:46:25 +0000
commit2ba296da47fe4b3c70be0aea291e307cdb2c7dbe (patch)
tree7db91d40015a79af9747d6caa8fb1feb66f5c202 /src/cmd/compile/internal/ir
parent24764496c7f7f58867a46aec7192b9425a3fea08 (diff)
downloadgo-2ba296da47fe4b3c70be0aea291e307cdb2c7dbe.tar.gz
go-2ba296da47fe4b3c70be0aea291e307cdb2c7dbe.zip
cmd/compile: update a few stale comments
CL 64811 removed dcopy. Update the comment in types.Sym. The Russquake moved iexport.go. Update the path to it. WRAPPER is now also used by ABI wrappers, so update the comment since it's now more general than method wrappers. Change-Id: Ie0df61dcef7168f6720838cd5c9a66adf546a44f Reviewed-on: https://go-review.googlesource.com/c/go/+/305269 Trust: Austin Clements <austin@google.com> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ir')
-rw-r--r--src/cmd/compile/internal/ir/func.go2
1 files changed, 1 insertions, 1 deletions
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