]> Cypherpunks repositories - gostls13.git/commit
runtime: make funcspdelta inlineable
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 5 Oct 2021 20:52:50 +0000 (13:52 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 5 Oct 2021 23:36:03 +0000 (23:36 +0000)
commit2a5d4ea97e0dd6f1e192aac081430b848084521b
treeebfba69611f27eb1272e019df848192e8bd4c0fc
parent5758c40ac850f249eccd1676974aac11cb0e8b66
runtime: make funcspdelta inlineable

funcspdelta should be inlined: It is a tiny wrapper around another func.
The sanity check prevents that. Condition the sanity check on debugPcln.
While we're here, make the sanity check throw when it fails.

Change-Id: Iec022b8463b13a8e5a6d8479e7ddcb68909d6fe0
Reviewed-on: https://go-review.googlesource.com/c/go/+/354133
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/symtab.go