about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-10-25 20:17:39 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2018-10-26 08:25:47 +1100
commit38d9277a77e982e49df07725b62b21c423b6428e (patch)
treeafaf8c4352a9defc433fc12911f2406b314f46a3 /src/rustllvm/RustWrapper.cpp
parentf99911a4a0bead7dd1f9ef2f90442844434cc391 (diff)
downloadrust-38d9277a77e982e49df07725b62b21c423b6428e.tar.gz
rust-38d9277a77e982e49df07725b62b21c423b6428e.zip
Shrink `Statement`.
This commit reduces the size of `Statement` from 80 bytes to 56 bytes on
64-bit platforms, by boxing the `AscribeUserType` variant of
`StatementKind`.

This change reduces instruction counts on most benchmarks by 1--3%.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions