]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove racefuncenterfp when it is not needed
authorCherry Zhang <cherryyz@google.com>
Sun, 1 Nov 2020 22:05:32 +0000 (17:05 -0500)
committerCherry Zhang <cherryyz@google.com>
Mon, 2 Nov 2020 03:03:16 +0000 (03:03 +0000)
commit0387bedadf8ec0ec4139af7c1361abaa47a6c03a
tree2afc33231ed8afcfa0fdf0f3e3500e184af29534
parentfdba080220f0642b2b3926cbc062c775f6224e5d
cmd/compile: remove racefuncenterfp when it is not needed

We already remove racefuncenter and racefuncexit if they are not
needed (i.e. the function doesn't have any other race  calls).
racefuncenterfp is like racefuncenter but used on LR machines.
Remove unnecessary racefuncenterfp as well.

Change-Id: I65edb00e19c6d9ab55a204cbbb93e9fb710559f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/267099
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/rewrite.go
test/codegen/race.go