]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: replace -l=2 with -d typecheckinl
authorMatthew Dempsky <mdempsky@google.com>
Fri, 20 Oct 2017 22:20:56 +0000 (15:20 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Sun, 22 Oct 2017 14:33:53 +0000 (14:33 +0000)
commit7092a312e5651c31e4a075503b0f5799371ceef9
treea1398ae9617c2cd2ae9c1ae2090f58ff42171614
parente769c9d6cfdc0e247f2498b10a6eb69054193e98
cmd/compile: replace -l=2 with -d typecheckinl

Currently, benchmarking compile performance under -l=4 is confounded
by -l=2 enabling eager typechecking of unused inline function bodies
for debugging. This isn't logically an "inlining aggressiveness"
level, so instead move this logic under the -d umbrella flag.

Change-Id: I713f68952efbe25b6941d3ebc2f3707ccbbd6240
Reviewed-on: https://go-review.googlesource.com/72253
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/bexport.go
src/cmd/compile/internal/gc/inl.go
src/cmd/compile/internal/gc/main.go