aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/gc/pgen_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/compile/internal/gc/pgen_test.go')
-rw-r--r--src/cmd/compile/internal/gc/pgen_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/gc/pgen_test.go b/src/cmd/compile/internal/gc/pgen_test.go
index 89b977de85..41f0808a1c 100644
--- a/src/cmd/compile/internal/gc/pgen_test.go
+++ b/src/cmd/compile/internal/gc/pgen_test.go
@@ -185,8 +185,8 @@ func TestStackvarSort(t *testing.T) {
// exercise this function on all inputs so that reflect.DeepEqual
// doesn't produce false positives.
for i := range want {
- types.Haspointers(want[i].Type)
- types.Haspointers(inp[i].Type)
+ want[i].Type.HasPointers()
+ inp[i].Type.HasPointers()
}
sort.Sort(byStackVar(inp))