]> Cypherpunks repositories - gostls13.git/commit
cmd/link: make funcSize a constant
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 29 Sep 2021 00:26:24 +0000 (17:26 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 29 Sep 2021 22:14:44 +0000 (22:14 +0000)
commit2d6d5584179cf89e44abc2829fcdc68c29dfc5a4
tree0bb9ab1dd8d8e21bef44d2b22b37de02272e576d
parentd3ad216f8e7ea7699fe44990c65213c26aba907d
cmd/link: make funcSize a constant

Now that it no longer depends on the size of a pointer,
we can make it a constant, which simplifies a bit of code.

Change-Id: I1b7c3b1b648da5c8960378a02b9263e2cc902441
Reviewed-on: https://go-review.googlesource.com/c/go/+/352952
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/cmd/link/internal/ld/pcln.go