aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/export_test.go
diff options
context:
space:
mode:
authorHeschi Kreinick <heschi@google.com>2018-01-31 17:56:14 -0500
committerHeschi Kreinick <heschi@google.com>2018-02-21 18:01:16 +0000
commit108efc79c726402e13acae0299e9a7597a4d33ce (patch)
treec353623df4237f515d411d169227a262ef66941b /src/cmd/compile/internal/ssa/export_test.go
parentebeea20a49c7f75ede9cdd403d474ed8c667dbf3 (diff)
downloadgo-108efc79c726402e13acae0299e9a7597a4d33ce.tar.gz
go-108efc79c726402e13acae0299e9a7597a4d33ce.zip
cmd/compile/internal/ssa: shrink commonly-used structs
Replace the OnStack boolean in VarLoc with a flag bit in StackOffset. This doesn't get much memory savings since it's still 64-bit aligned, but does seem to help a bit anyway. Change liveSlot to fit into 16 bytes. Because nested structs still get padding, this required inlining it. Fortunately there's not much logic to copy. Change-Id: Ie19a409daa41aa310275c4517a021eecf8886441 Reviewed-on: https://go-review.googlesource.com/92401 Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
0 files changed, 0 insertions, 0 deletions