]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] test: relax live_regabi.go
authorMatthew Dempsky <mdempsky@google.com>
Thu, 30 Jun 2022 00:15:08 +0000 (17:15 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 30 Jun 2022 18:41:17 +0000 (18:41 +0000)
commitf751319a0b51b9557a2f7f6000e692769f78da01
tree32b808a9e3747658a7c09889b2f0d2dc27cab078
parente3cdc981c802350780a3eec109980acf28fc8746
[dev.unified] test: relax live_regabi.go

Unified IR will soon introduce additional temporary variables for
multi-valued expressions, which cause this test to start failing.
However, according to the comment on lines 594--596, we don't care
what temporaries are printed on the noisy lines, just that they're not
mentioned on the printnl lines.

This CL relaxes the test expectations so that temporaries are allowed
to be live at the call to fb38() too, not just the calls to fi38() and
fc38().

Change-Id: Ia6c5f28ccf760fd8890a4313fb0d9f0eb9850bba
Reviewed-on: https://go-review.googlesource.com/c/go/+/415240
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
test/live_regabi.go