aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/dom_test.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-07-30 11:03:05 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2015-07-30 21:30:59 +0000
commit85e0329fbc03df4165550611f3724d9ebcaa34a8 (patch)
treea35324d79db219ec0a11cbff1f917db7316abaf2 /src/cmd/compile/internal/ssa/dom_test.go
parent165c1c16d1e94ddd961e5b99eab6610d95af6fa6 (diff)
downloadgo-85e0329fbc03df4165550611f3724d9ebcaa34a8.tar.gz
go-85e0329fbc03df4165550611f3724d9ebcaa34a8.zip
[dev.ssa] cmd/compile: move most types outside SSA
The only types that remain in the ssa package are special compiler-only types. Change-Id: If957abf128ec0778910d67666c297f97f183b7ee Reviewed-on: https://go-review.googlesource.com/12933 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.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cmd/compile/internal/ssa/dom_test.go b/src/cmd/compile/internal/ssa/dom_test.go
index 1f3124167a..6cd2ff440c 100644
--- a/src/cmd/compile/internal/ssa/dom_test.go
+++ b/src/cmd/compile/internal/ssa/dom_test.go
@@ -220,7 +220,7 @@ func verifyDominators(t *testing.T, fut fun, domFn domFunc, doms map[string]stri
}
func TestDominatorsSingleBlock(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -235,7 +235,7 @@ func TestDominatorsSingleBlock(t *testing.T) {
}
func TestDominatorsSimple(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -263,7 +263,7 @@ func TestDominatorsSimple(t *testing.T) {
}
func TestDominatorsMultPredFwd(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -291,7 +291,7 @@ func TestDominatorsMultPredFwd(t *testing.T) {
}
func TestDominatorsDeadCode(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -314,7 +314,7 @@ func TestDominatorsDeadCode(t *testing.T) {
}
func TestDominatorsMultPredRev(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -342,7 +342,7 @@ func TestDominatorsMultPredRev(t *testing.T) {
}
func TestDominatorsMultPred(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -370,7 +370,7 @@ func TestDominatorsMultPred(t *testing.T) {
}
func TestPostDominators(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
fun := Fun(c, "entry",
Bloc("entry",
Valu("mem", OpArg, TypeMem, 0, ".mem"),
@@ -396,7 +396,7 @@ func TestPostDominators(t *testing.T) {
}
func TestInfiniteLoop(t *testing.T) {
- c := NewConfig("amd64", DummyFrontend{t})
+ c := testConfig(t)
// note lack of an exit block
fun := Fun(c, "entry",
Bloc("entry",