diff options
| author | Russ Cox <rsc@golang.org> | 2014-08-23 19:24:44 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-08-23 19:24:44 -0400 |
| commit | 950ad4fa2bfb4539ebac21d7a32aa23da59376a7 (patch) | |
| tree | 42223b428bfa1eeeb7545c6a1d7fb0b753087e46 /src | |
| parent | 71ecd16bf5c7a43849b5a3ad874ca8bd0accd302 (diff) | |
| download | go-950ad4fa2bfb4539ebac21d7a32aa23da59376a7.tar.xz | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/gc/subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 325614e6bc..081c373a88 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 = 0, + IfacePointerOnly = 1, }; if(IfacePointerOnly) { |
