diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-06-13 23:16:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 23:16:05 -0700 |
commit | d7e2ca54816f6a8bda589fde91a5e395f0896d29 (patch) | |
tree | a9473e03b140d36f662dba2771ec7bcedf6ee517 /src/inc | |
parent | d23a2bc131eae32c473e39fcb3b640af1a95d244 (diff) | |
download | coreclr-d7e2ca54816f6a8bda589fde91a5e395f0896d29.tar.gz coreclr-d7e2ca54816f6a8bda589fde91a5e395f0896d29.tar.bz2 coreclr-d7e2ca54816f6a8bda589fde91a5e395f0896d29.zip |
Improve the packing of RefPosition (#12263)
The LSRA RefPosition type was not packing well. In particular,
bitfields don't pack unless they have the same base type.
Move all the data member declarations to the top, and make them adjacent,
so it is easier to see them all together. Also, change all bitfields
to "unsigned char" base type.
This reduces the size from 36 to 28 bytes for x86, and 48 to 40 bytes
for x64 (release, on Windows).
Diffstat (limited to 'src/inc')
0 files changed, 0 insertions, 0 deletions