]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: move a lot of declarations outside of go.go
authorMatthew Dempsky <mdempsky@google.com>
Tue, 5 Apr 2016 21:20:04 +0000 (14:20 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 5 Apr 2016 21:38:15 +0000 (21:38 +0000)
commit5ba797bd189b460854a0aea877381abcaef8105b
tree9c610f13005b398c0ca38f49b72e284c13562ba6
parentcca4ddb497a2d56654b38991566e45be1ef18f4d
cmd/compile: move a lot of declarations outside of go.go

go.go is currently a grab bag of various unrelated type and variable
declarations. Move a bunch of them into other more relevant source
files.

There are still more that can be moved, but these were the low hanging
fruit with obvious homes.

No code/comment changes. Just shuffling stuff around.

Change-Id: I43dbe1a5b8b707709c1a3a034c693d38b8465063
Reviewed-on: https://go-review.googlesource.com/21561
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/const.go
src/cmd/compile/internal/gc/dcl.go
src/cmd/compile/internal/gc/go.go
src/cmd/compile/internal/gc/lex.go
src/cmd/compile/internal/gc/popt.go
src/cmd/compile/internal/gc/reflect.go
src/cmd/compile/internal/gc/type.go
src/cmd/compile/internal/gc/typecheck.go