Skip to content

Commit

Permalink
undo CL 130240043 / b09f70c301a5
Browse files Browse the repository at this point in the history
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 golang#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
  • Loading branch information
davecheney authored and wheatman committed Jun 28, 2018
1 parent f8ca389 commit b01a57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/gc/subr.c
Expand Up @@ -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) {
Expand Down

0 comments on commit b01a57d

Please sign in to comment.