]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
src/librustc/middle/trans/debuginfo.rs