Skip to content

Commit d664523

Browse files
rscwheatman
authored andcommitted
cmd/gc: re-enable IfacePointerOnly
CL 130240043 did this but broke ARM, because it made newErrorCString start allocating, so we rolled it back in CL 133810043. CL 133820043 removed that allocation. Try again. Fixes golang#8405. LGTM=bradfitz, dave R=golang-codereviews, bradfitz CC=dave, golang-codereviews, r https://golang.org/cl/133830043
1 parent 95987ec commit d664523

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)