]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] test: extract different inline test between unified and non-unified
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 14 Jun 2022 02:04:55 +0000 (09:04 +0700)
committerGopher Robot <gobot@golang.org>
Wed, 15 Jun 2022 21:22:56 +0000 (21:22 +0000)
commit8a9485c023543ba688b6b316223e243fdf36b074
tree3f5e26dca1d3f083c583ea79c427defd2ae7ae15
parent394ea70cc925ab59b6c1a3d41accbc5613c71e3b
[dev.unified] test: extract different inline test between unified and non-unified

Unified IR records the inline nodes position right at the position of
the inline call, while the old inliner always records at the position of
the original nodes.

We want to keep non-unified working up through go 1.20, thus this CL
extract the inline test case that is different in Unified IR and the old
inliner.

Updates #53058

Change-Id: I14b0ee99fe797d34f27cfec068982790c64ac263
Reviewed-on: https://go-review.googlesource.com/c/go/+/411935
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
test/inline.go
test/inline_nounified.go [new file with mode: 0644]
test/inline_unified.go [new file with mode: 0644]
test/run.go