about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-14 16:42:26 +0200
committerGitHub <noreply@github.com>2019-09-14 16:42:26 +0200
commitaf33a1d902c7dec7824740e971953b21996d4429 (patch)
tree787c471c26d9d75c4e286ebff92c832b3ad3178a /src/test/debuginfo/enum-thinlto.rs
parent1e2a97018f822edb310742838245d6457370c089 (diff)
parent2fcd870711ce267c79408ec631f7eba8e0afcdf6 (diff)
downloadrust-af33a1d902c7dec7824740e971953b21996d4429.tar.gz
rust-af33a1d902c7dec7824740e971953b21996d4429.zip
Rollup merge of #64374 - nnethercote:box-DiagnosticBuilder, r=zackmdavis
Box `DiagnosticBuilder`.

It's a large type -- 176 bytes on 64-bit. And it's passed around and
returned from a lot of functions, including within `PResult`.

This commit boxes it, which reduces memory traffic. In particular,
`PResult` shrinks to 16 bytes in the best case; this reduces instruction
counts by up to 2% on various workloads. The commit touches a lot of
lines but it's almost all trivial plumbing changes.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions