diff options
| author | bors <bors@rust-lang.org> | 2014-08-15 20:31:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-15 20:31:16 +0000 |
| commit | 2da501883884ab6add110ee1b8dea05ff8d8f013 (patch) | |
| tree | 3e874a1406111f15782b2c65177f7aacdeeb8e0a /src/rustllvm/RustWrapper.cpp | |
| parent | 02f9fd87ec56b1e84d45c96abe388f555e28faed (diff) | |
| parent | 6c5d97a5da043c785b2fb38c0fd13c85ab265122 (diff) | |
| download | rust-2da501883884ab6add110ee1b8dea05ff8d8f013.tar.gz rust-2da501883884ab6add110ee1b8dea05ff8d8f013.zip | |
auto merge of #16517 : dotdash/rust/for_trunc, r=pcwalton
The discriminant for Option values is either 0 or 1, so we can just truncate the value to an i1, which ends up as a no-op for Options containing pointers.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
