diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2020-09-22 02:19:14 -0700 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2020-10-15 18:35:44 +0000 |
| commit | 1bcf6beec53ae811490fcd0ac29328b12b53702c (patch) | |
| tree | 627a3c36a135a31b17cfeec18a6061a1322784f3 /src/cmd/objdump/testdata | |
| parent | 64fb6ae95f1c322486cbfb758552bb8439a8e6e8 (diff) | |
| download | go-1bcf6beec53ae811490fcd0ac29328b12b53702c.tar.xz | |
cmd/compile: use staticValue for inlining logic
This CL replaces the ad hoc and duplicated logic for detecting
inlinable calls with a single "inlCallee" function, which uses the
"staticValue" helper function introduced in an earlier commit.
Updates #41474.
Change-Id: I103d4091b10366fce1344ef2501222b7df68f21d
Reviewed-on: https://go-review.googlesource.com/c/go/+/256460
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Trust: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/objdump/testdata')
0 files changed, 0 insertions, 0 deletions
