From 5b70b7121968233cd953eba4d77b768400086d9c Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Sat, 23 Aug 2014 21:52:17 -0400 Subject: [PATCH] undo CL 130240043 / b09f70c301a5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change broke divmod.go on all arm platforms. ««« original CL description cmd/gc: change interface representation: only pointers in data word Note that there are various cleanups that can be made if we keep this change, but I do not want to start making changes that depend on this one until the 1.4 cycle closes. Fixes #8405. LGTM=r R=golang-codereviews, adg, r, bradfitz CC=golang-codereviews, iant https://golang.org/cl/130240043 »»» LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/133810043 --- src/cmd/gc/subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 081c373a889..325614e6bcf 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -3808,7 +3808,7 @@ isdirectiface(Type *t) // where the data word can hold a pointer or any // non-pointer value no bigger than a pointer. enum { - IfacePointerOnly = 1, + IfacePointerOnly = 0, }; if(IfacePointerOnly) {