]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove outdate TODO in inl.go
authorLE Manh Cuong <cuong.manhle.vn@gmail.com>
Thu, 2 May 2019 08:48:14 +0000 (15:48 +0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 May 2019 14:44:05 +0000 (14:44 +0000)
commit19f5c233d1355d98feef37d704eb76ac75886d49
tree107dc91243e39edf42b3dbeca7a409de0455b911
parent2316784f67acfeebd3d08faab5b13a8a73d57b5a
cmd/compile: remove outdate TODO in inl.go

Mid-stack inlining is enable now, see #19348, but we still can not
remove the special case for runtime.heapBits.nextArena, because
runtime.heapBits.next is too complex to be inlined
(cost 96 exceeds budget 80).

Change-Id: I04ea86509074afdc83a3f70d68b8a1a8829763d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/174839
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/inl.go