]> git.lizzy.rs Git - rust.git/commit
auto merge of #14121 : luqmana/rust/option-ffi, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 18 May 2014 08:16:27 +0000 (01:16 -0700)
committerbors <bors@rust-lang.org>
Sun, 18 May 2014 08:16:27 +0000 (01:16 -0700)
commitbf8648dbdad525eebe90e4920439b30c0440d682
tree86411931738908873892232ef291eeddbba8f288
parenta62395f01ca4f2db1b9004aa4f54422956950304
parentbe79edba71ed5f6021ba20f55a03f5d7474ef86b
auto merge of #14121 : luqmana/rust/option-ffi, r=alexcrichton

This slightly adjusts the NullablePointer representation for some enums in the case where the non-nullable variant has a single field (the ptr field) to be just that, the pointer. This is in contrast to the current behaviour where we'd wrap that single pointer in a LLVM struct.

Fixes #11040 & #11303.
src/librustc/middle/trans/debuginfo.rs