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 20, 2018
1 parent 93ea0a5 commit 65a0e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/gc/subr.c
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 65a0e69

Please sign in to comment.