]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: move remaining instrumentation logic into ssagen
authorMatthew Dempsky <mdempsky@google.com>
Thu, 14 Sep 2023 05:48:43 +0000 (22:48 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 14 Sep 2023 13:21:53 +0000 (13:21 +0000)
commitd2e2da83b1225355bb76fd85d088c62b8780b731
tree708e44a1e346ee4316a8393707b6fa1eb34c5529
parent9ee23e97a2079f7953c351bdb678c1b25a804d1c
cmd/compile: move remaining instrumentation logic into ssagen

Allows removing Func.{Enter,Exit}, which were only ever used to hold
at most one function call each.

Change-Id: I8b629c82e90bac3fcbe54db89900492406c7dca6
Reviewed-on: https://go-review.googlesource.com/c/go/+/528319
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/ir/fmt.go
src/cmd/compile/internal/ir/func.go
src/cmd/compile/internal/ir/sizeof_test.go
src/cmd/compile/internal/ir/symtab.go
src/cmd/compile/internal/loopvar/loopvar.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/compile/internal/walk/race.go [deleted file]
src/cmd/compile/internal/walk/walk.go