From c87520c5981ecdeaa99e7ba636a6088f900c0c75 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Fri, 21 Apr 2017 18:44:34 -0700 Subject: cmd: remove IntSize and Widthint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use PtrSize and Widthptr instead. CL prepared mostly with sed and uniq. Passes toolstash-check -all. Fixes #19954. Change-Id: I09371bd7128672885cb8bc4e7f534ad56a88d755 Reviewed-on: https://go-review.googlesource.com/40506 Run-TryBot: Matthew Dempsky TryBot-Result: Gobot Gobot Reviewed-by: Martin Möhrmann Reviewed-by: Brad Fitzpatrick Reviewed-by: Josh Bleecher Snyder --- src/cmd/compile/internal/ssa/export_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/compile/internal/ssa/export_test.go') diff --git a/src/cmd/compile/internal/ssa/export_test.go b/src/cmd/compile/internal/ssa/export_test.go index e2d8a2d69b..228a33697e 100644 --- a/src/cmd/compile/internal/ssa/export_test.go +++ b/src/cmd/compile/internal/ssa/export_test.go @@ -30,7 +30,7 @@ func testConfigArch(tb testing.TB, arch string) *Conf { if !ok { tb.Fatalf("unknown arch %s", arch) } - if ctxt.Arch.IntSize != 8 { + if ctxt.Arch.PtrSize != 8 { tb.Fatal("dummyTypes is 64-bit only") } c := &Conf{ -- cgit v1.2.3-54-g00ecf