Skip to content

Commit 950ad4f

Browse files
committed
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
1 parent 71ecd16 commit 950ad4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/gc/subr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3808,7 +3808,7 @@ isdirectiface(Type *t)
38083808
// where the data word can hold a pointer or any
38093809
// non-pointer value no bigger than a pointer.
38103810
enum {
3811-
IfacePointerOnly = 0,
3811+
IfacePointerOnly = 1,
38123812
};
38133813

38143814
if(IfacePointerOnly) {

0 commit comments

Comments
 (0)