]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove broken inlining accounting code
authorMatthew Dempsky <mdempsky@google.com>
Tue, 12 Dec 2017 19:13:49 +0000 (11:13 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 12 Dec 2017 20:26:33 +0000 (20:26 +0000)
commit13bf4ada8075d9365c40b03ecf6641473b2af926
treeaf30446adb4fef7cfbb2891e8de9443d5a8f6a12
parentd1be0fd910758852584ab53d2c92c4caac3f5b7e
cmd/compile: remove broken inlining accounting code

We can't currently inline functions that contain closures anyway, so
just delete this budgeting code for now. Re-enable once we can (if
ever) inline functions with nested closures.

Updates #15561.
Fixes #23093.

Change-Id: Idc5f8e042ccfcc8921022e58d3843719d4ab821e
Reviewed-on: https://go-review.googlesource.com/83538
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/inl.go
test/fixedbugs/issue23093.go [new file with mode: 0644]