Skip to content

Commit 19f5c23

Browse files
cuonglmbradfitz
authored andcommitted
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 <[email protected]>
1 parent 2316784 commit 19f5c23

File tree

1 file changed

+0
-4
lines changed
  • src/cmd/compile/internal/gc

1 file changed

+0
-4
lines changed

src/cmd/compile/internal/gc/inl.go

-4
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,6 @@ func (v *hairyVisitor) visit(n *Node) bool {
343343
// runtime.heapBits.next even though
344344
// it calls slow-path
345345
// runtime.heapBits.nextArena.
346-
//
347-
// TODO(austin): Once mid-stack
348-
// inlining is the default, remove
349-
// this special case.
350346
break
351347
}
352348
}

0 commit comments

Comments
 (0)