aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2017-04-11 07:44:33 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2017-04-11 15:02:39 +0000
commit2122fc6358c926846ea70c8497f94f9b8c8a49c3 (patch)
treefe50927ee85e59fd285400346a19a0bf387f1679 /src/encoding
parent1e6924541802e4a10d8dc8a519b7c116ae213a0c (diff)
downloadgo-2122fc6358c926846ea70c8497f94f9b8c8a49c3.tar.xz
cmd/internal/obj/arm64: don't immediate dereference new prog
Noticed by Cherry while reviewing CL 40252. The alternative to this is to place t on the stack, like t := obj.Prog{Ctxt: ctxt} However, there are only a couple of places where we manually construct Progs, which is useful. This isn't hot enough code to warrant breaking abstraction layers to avoid an allocation. Passes toolstash-check. Change-Id: I46c79090b60641c90ee977b750ba5c708aca8ecf Reviewed-on: https://go-review.googlesource.com/40373 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions