]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/gc: better inliner diagnostics
authorIlya Tocar <ilya.tocar@intel.com>
Tue, 12 Sep 2017 18:53:55 +0000 (13:53 -0500)
committerIlya Tocar <ilya.tocar@intel.com>
Wed, 20 Sep 2017 21:38:06 +0000 (21:38 +0000)
commit475df0ebccaf0871c86b2c0b55ee841aede324b7
tree72390846620a672f4de0e8b0d9dd4eb8c34868c2
parent8e5ac83d433d077b76c5418f485c890c1841caac
cmd/compile/internal/gc: better inliner diagnostics

When debugging inliner with -m -m print cost of complex functions,
instead of simple "function too complex". This helps to understand,
how close to inlining is this particular function.

Change-Id: I6871f69b5b914d23fd0b43a24d7c6fc928f4b716
Reviewed-on: https://go-review.googlesource.com/63330
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/inl.go