diff options
| author | Jed Davis <jld@panix.com> | 2013-11-22 01:16:17 -0800 |
|---|---|---|
| committer | Jed Davis <jld@panix.com> | 2013-11-24 22:44:48 -0800 |
| commit | 8624d5b186c1fba01f3e3cf38403db5ad93b87ed (patch) | |
| tree | 9caa7428edee2fb997a9c3ca8054da470bbb7862 /src/rustllvm/RustWrapper.cpp | |
| parent | ca3274336e9d61b29f6862b4706a2a105a208f0a (diff) | |
| download | rust-8624d5b186c1fba01f3e3cf38403db5ad93b87ed.tar.gz rust-8624d5b186c1fba01f3e3cf38403db5ad93b87ed.zip | |
Represent C-like enums with a plain LLVM integer, not a struct.
This is needed so that the FFI works as expected on platforms that don't flatten aggregates the way the AMD64 ABI does, especially for `#[repr(C)]`. This moves more of `type_of` into `trans::adt`, because the type might or might not be an LLVM struct.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
