diff options
| author | bors <bors@rust-lang.org> | 2014-07-08 00:31:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-08 00:31:42 +0000 |
| commit | a3257804df2bace236f83d9e5a9e887a1df30ef5 (patch) | |
| tree | c363f1128a77eade9cfd55fc52589f4aaf7681d8 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 00cdd639a93ec1dcad85cebc52214eeba0441c93 (diff) | |
| parent | fa8da9d6b317f39402f1127575e2bd08db33c508 (diff) | |
| download | rust-a3257804df2bace236f83d9e5a9e887a1df30ef5.tar.gz rust-a3257804df2bace236f83d9e5a9e887a1df30ef5.zip | |
auto merge of #15406 : luqmana/rust/nop, r=pcwalton
Extend the null ptr optimization to work with slices, closures, procs, & trait objects by using the internal pointers as the discriminant. This decreases the size of `Option<&[int]>` (and similar) by one word.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
