about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-07-08 00:31:42 +0000
committerbors <bors@rust-lang.org>2014-07-08 00:31:42 +0000
commita3257804df2bace236f83d9e5a9e887a1df30ef5 (patch)
treec363f1128a77eade9cfd55fc52589f4aaf7681d8 /src/rustllvm/ExecutionEngineWrapper.cpp
parent00cdd639a93ec1dcad85cebc52214eeba0441c93 (diff)
parentfa8da9d6b317f39402f1127575e2bd08db33c508 (diff)
downloadrust-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