diff options
author | David Chase <drchase@google.com> | 2015-10-23 12:34:03 -0400 |
---|---|---|
committer | David Chase <drchase@google.com> | 2015-10-23 17:30:09 +0000 |
commit | 3abb8441087dbc1f08320c40a750ac1a7209b9fe (patch) | |
tree | b53d77994e98fb737df8874bc9bb95795793935f /src/cmd/compile/internal/ssa/dom_test.go | |
parent | 7d6124697223ecf9d5ce21221377da2b9c7fd9f3 (diff) | |
download | go-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.go | 2 |
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) |