Skip to content

Commit

Permalink
cmd/gc: re-enable IfacePointerOnly
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rsc authored and wheatman committed Jun 28, 2018
1 parent 95987ec commit d664523
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 d664523

Please sign in to comment.