]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: classify more nodes as "poor choices" for statements
authorDavid Chase <drchase@google.com>
Mon, 30 Sep 2019 15:08:43 +0000 (11:08 -0400)
committerDavid Chase <drchase@google.com>
Thu, 3 Oct 2019 21:08:27 +0000 (21:08 +0000)
commit53bd9151099c54ffb4fee73d8b1771e311f6a271
tree6fa0d341c891f669dafb6cd137c7109bb04333d8
parent6139019efaa3faa9ec94a57ab8c15b726d516664
cmd/compile: classify more nodes as "poor choices" for statements

Aggregate-making nodes that are later decomposed
are poor choices for statements, because the decomposition
phase turns them into multiple sub-values, some of which may be
dead.  Better to look elsewhere for a statement mark.

Change-Id: Ibd9584138ab3d1384548686896a28580a2e43f54
Reviewed-on: https://go-review.googlesource.com/c/go/+/198477
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssa/numberlines.go