Skip to content

Commit

Permalink
cmd/gc: change interface representation: only pointers in data word
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rsc authored and wheatman committed Jun 28, 2018
1 parent 7a71e71 commit cb1f33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/gc/subr.c
Original file line number Diff line number Diff line change
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 = 0,
IfacePointerOnly = 1,
};

if(IfacePointerOnly) {
Expand Down

0 comments on commit cb1f33f

Please sign in to comment.