]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: refactor type initialization code into helper
authorThan McIntosh <thanm@google.com>
Tue, 24 Nov 2020 23:09:00 +0000 (18:09 -0500)
committerAlexander Rakoczy <alex@golang.org>
Mon, 14 Dec 2020 16:43:39 +0000 (11:43 -0500)
commit2b76429eb01ec1752f7622e3011babd7140ab870
tree071856776dce5cd88135336c16a0e9a3f5ae583c
parent9c5241e52020cf77683cd260a5fa3f3f029ed80c
[dev.regabi] cmd/compile: refactor type initialization code into helper

Create a helper routine for initializing the types package, so as make
it easier to use in unit testing (in a follow-on patch).

Change-Id: I0f937788dfd34ac6641a4f28c16e47008aa08116
Reviewed-on: https://go-review.googlesource.com/c/go/+/273010
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Than McIntosh <thanm@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/main.go