mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: use testConfig consistently in SSA tests
Change-Id: Iae41e14ee55eb4068fcb2189a77b345a7c5468b4 Reviewed-on: https://go-review.googlesource.com/38333 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
3928e847bd
commit
b6074a417d
5 changed files with 18 additions and 18 deletions
|
|
@ -160,7 +160,7 @@ func genMaxPredValue(size int) []bloc {
|
|||
var domBenchRes []*Block
|
||||
|
||||
func benchmarkDominators(b *testing.B, size int, bg blockGen) {
|
||||
c := NewConfig("amd64", nil, true)
|
||||
c := testConfig(b)
|
||||
fun := Fun(c, DummyFrontend{b}, "entry", bg(size)...)
|
||||
|
||||
CheckFunc(fun.f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue