summaryrefslogtreecommitdiff
path: root/src/runtime/select.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2016-02-23 07:46:01 +0000
committerMatthew Dempsky <mdempsky@google.com>2016-02-23 19:42:52 +0000
commit9877900c8c9c21704c0052c65e39216c6f400706 (patch)
tree73c03608d13364a7016c40a6b3f9c1fae05f62ab /src/runtime/select.go
parent676550d040fcd91d080df5df85b61b3f32393e6f (diff)
downloadgo-git-9877900c8c9c21704c0052c65e39216c6f400706.tar.gz
Revert "cmd/compile: move hiter, hmap, and scase definitions into builtin.go"
This reverts commit f28bbb776a050cc3edca2bbe1241d81217a7a251. Change-Id: I82fb81dcff3ddcaefef72949f1ef3a41bcd22301 Reviewed-on: https://go-review.googlesource.com/19849 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/select.go')
-rw-r--r--src/runtime/select.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/select.go b/src/runtime/select.go
index 25ebdaa595..b6c3fea001 100644
--- a/src/runtime/select.go
+++ b/src/runtime/select.go
@@ -22,7 +22,7 @@ const (
// Select statement header.
// Known to compiler.
-// Changes here must also be made in src/cmd/compile/internal/gc/select.go's selecttype.
+// Changes here must also be made in src/cmd/internal/gc/select.go's selecttype.
type hselect struct {
tcase uint16 // total count of scase[]
ncase uint16 // currently filled scase[]
@@ -33,7 +33,7 @@ type hselect struct {
// Select case descriptor.
// Known to compiler.
-// Changes here must also be made in src/cmd/compile/internal/gc/builtin/runtime.go.
+// Changes here must also be made in src/cmd/internal/gc/select.go's selecttype.
type scase struct {
elem unsafe.Pointer // data element
c *hchan // chan