]> Cypherpunks repositories - gostls13.git/commit
cmd/link,runtime: remove unused fields from inlinedCall
authorMichael Pratt <mpratt@google.com>
Fri, 2 Sep 2022 20:50:41 +0000 (16:50 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 6 Sep 2022 22:23:43 +0000 (22:23 +0000)
commitc83e1b6d5bd5378689a6485775a9a4f80c9c66ed
treea3e321222b983c4b1f681f7e643736eb397b6d94
parentc82304b7129d7e675ff010d54f58d039235e4802
cmd/link,runtime: remove unused fields from inlinedCall

The parent, file, and line fields are no longer used now that we have
parentPc to find the parent and NOPs in the parent to attach file/line
pcdata to.

Removing these fields reduces the binary size of cmd/go on linux-amd64
by 1.1%.

Fixes #54849.

Change-Id: If58f08622736b2b322288608776f8bedf0c3fd17
Reviewed-on: https://go-review.googlesource.com/c/go/+/427960
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/link/internal/ld/pcln.go
src/runtime/symtab.go