]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: remove F3t field from Prog
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 21 May 2015 00:35:43 +0000 (17:35 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 21 May 2015 18:28:50 +0000 (18:28 +0000)
commit137817378548b263f0322d8240a0c503b456f696
tree4553138cd507aef11b07770ba1cdf64402686294
parent216e5c747d28676beea2287f48a0771fa56bbaf8
cmd/internal/obj: remove F3t field from Prog

F3t was effectively a local variable.
Remove it.

This shrinks obj.Prog from 456 to 448 bytes,
which places it in a smaller malloc class.

This reduces the memory usage of the compiler
while compiling the rotate tests by ~2.75%.

Change-Id: I31cc9dd67269851a430b56bcc7d255c9349eb522
Reviewed-on: https://go-review.googlesource.com/10255
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/x86/asm6.go