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 #8405.

LGTM=bradfitz, dave
R=golang-codereviews, bradfitz
CC=dave, golang-codereviews, r
https://golang.org/cl/133830043
  • Loading branch information
rsc committed Aug 25, 2014
1 parent 2a679f8 commit 75b72b1
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 // where the data word can hold a pointer or any
// non-pointer value no bigger than a pointer. // non-pointer value no bigger than a pointer.
enum { enum {
IfacePointerOnly = 0, IfacePointerOnly = 1,
}; };


if(IfacePointerOnly) { if(IfacePointerOnly) {
Expand Down

0 comments on commit 75b72b1

Please sign in to comment.