aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/dom_test.go
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2015-10-23 12:34:03 -0400
committerDavid Chase <drchase@google.com>2015-10-23 17:30:09 +0000
commit3abb8441087dbc1f08320c40a750ac1a7209b9fe (patch)
treeb53d77994e98fb737df8874bc9bb95795793935f /src/cmd/compile/internal/ssa/dom_test.go
parent7d6124697223ecf9d5ce21221377da2b9c7fd9f3 (diff)
downloadgo-3abb8441087dbc1f08320c40a750ac1a7209b9fe.tar.gz
go-3abb8441087dbc1f08320c40a750ac1a7209b9fe.zip
[dev.ssa] cmd/compile: repair ssa testing build and test
Calls to NewConfig required an extra parameter that sometimes could not be nil. Change-Id: I806dd53c045056a0c2d30d641a20fe27fb790539 Reviewed-on: https://go-review.googlesource.com/16272 Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ssa/dom_test.go')
-rw-r--r--src/cmd/compile/internal/ssa/dom_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/ssa/dom_test.go b/src/cmd/compile/internal/ssa/dom_test.go
index b46dcebc72..eff7205fa3 100644
--- a/src/cmd/compile/internal/ssa/dom_test.go
+++ b/src/cmd/compile/internal/ssa/dom_test.go
@@ -160,7 +160,7 @@ func genMaxPredValue(size int) []bloc {
var domBenchRes []*Block
func benchmarkDominators(b *testing.B, size int, bg blockGen) {
- c := NewConfig("amd64", DummyFrontend{b})
+ c := NewConfig("amd64", DummyFrontend{b}, nil)
fun := Fun(c, "entry", bg(size)...)
CheckFunc(fun.f)