]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/inlheur: regionalize call site analysis
authorThan McIntosh <thanm@google.com>
Thu, 21 Sep 2023 17:15:02 +0000 (13:15 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 8 Nov 2023 15:03:50 +0000 (15:03 +0000)
commit993ca35bd43bee9af2db700ac658b0fee896fa4d
tree71c00c98ba32924e47b1eaaedb4959248a000553
parent9d3b3416a4a1fe6778370d7ec050355cbaf30dfe
cmd/compile/internal/inlheur: regionalize call site analysis

Refactor the code that looks for callsites to work on an arbitrary
region of IR nodes, as opposed to working on a function. No change in
semantics, this is just a refactoring in preparation for a later
change.

Change-Id: I73a61345c225dea566ffa6fa50f44dbaf9f1f32b
Reviewed-on: https://go-review.googlesource.com/c/go/+/530578
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/inline/inlheur/analyze.go
src/cmd/compile/internal/inline/inlheur/analyze_func_callsites.go