]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: disable inlining of method values
authorDaniel Morsing <daniel.morsing@gmail.com>
Sat, 13 Apr 2013 06:22:16 +0000 (08:22 +0200)
committerDaniel Morsing <daniel.morsing@gmail.com>
Sat, 13 Apr 2013 06:22:16 +0000 (08:22 +0200)
commit7b8e08617ea0d2b119766e0fd893fbf4502280e8
treed21589afada8529a07cad711c9b1ab7fb5546e53
parent968732b677e592019526fe1afe0bbf45f52df4b7
cmd/gc: disable inlining of method values

They caused internal compiler errors and they're expensive enough that inlining them doesn't make sense.

Fixes #5259.

R=golang-dev, r, iant, remyoudompheng
CC=golang-dev
https://golang.org/cl/8636043
src/cmd/gc/inl.c
test/fixedbugs/issue5259.dir/bug.go [new file with mode: 0644]
test/fixedbugs/issue5259.dir/main.go [new file with mode: 0644]
test/fixedbugs/issue5259.go [new file with mode: 0644]