diff options
| author | Daniel Martà <mvdan@mvdan.cc> | 2017-09-23 12:22:10 +0100 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2017-09-23 20:24:10 +0000 |
| commit | 6936671ed1c3a1dd25e0eea635ee2bdc86acd463 (patch) | |
| tree | 3d8e7f49e946049d1ebb3beda054f782824428b9 /src/database/sql | |
| parent | 7537bb7b30fabd8fafd0b214b755d6dffa31bfe7 (diff) | |
| download | go-6936671ed1c3a1dd25e0eea635ee2bdc86acd463.tar.xz | |
cmd/compile: clarify adjustctxt inlining comment
The reason why adjustctxt wasn't being inlined was reported as:
function too complex: cost 92 exceeds budget 80
However, after tweaking the code to be under the budget limit, we see
the real blocker:
non-leaf function
There is little we can do about this one in particular at the moment.
Create a section with funcs that will need mid-stack inlining to be
inlineable, since this will likely come up again in other cases.
Change-Id: I3a8eb1546b289a060ac896506a007b0496946e84
Reviewed-on: https://go-review.googlesource.com/65650
Run-TryBot: Daniel Martà <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
