]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove -d=typecheckinl flag
authorMatthew Dempsky <mdempsky@google.com>
Fri, 2 Dec 2022 00:43:05 +0000 (16:43 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 26 Jan 2023 00:28:48 +0000 (00:28 +0000)
commit532e34dd383549cdb415bc3e09b70d23f280524e
treecd58f7449f253f7de8c3de70e7282fe0069a81ea
parent6d4101ea68477bf1d762f7466523de0b95bec0ca
cmd/compile: remove -d=typecheckinl flag

This flag forced the compiler to eagerly type check all available
inline function bodies, which presumably was useful in the early days
of implementing inlining support. However, it shouldn't have any
significance with the unified frontend, since the same code paths are
used for constructing normal function bodies as for inlining.

Updates #57410.

Change-Id: I6842cf86bcd0fbf22ac336f2fc0b7b8fe14bccca
Reviewed-on: https://go-review.googlesource.com/c/go/+/458617
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/base/debug.go
src/cmd/compile/internal/gc/main.go
src/cmd/compile/internal/inline/inl.go