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:
Josh Bleecher Snyder 2017-03-17 16:59:32 -07:00
parent 3928e847bd
commit b6074a417d
5 changed files with 18 additions and 18 deletions

View file

@ -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)