about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-01-09 17:40:13 +0100
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-01-09 17:40:13 +0100
commit2100b10c4c61ac7c0fe67ae4c9a390eaf3708ae4 (patch)
tree9a5d44627c3bbbf1cae66b70c0d8ad0596124593 /src/rustllvm/RustWrapper.cpp
parent6354d60ede5e2a7e60fa46f85243efd8dbe89711 (diff)
downloadrust-2100b10c4c61ac7c0fe67ae4c9a390eaf3708ae4.tar.gz
rust-2100b10c4c61ac7c0fe67ae4c9a390eaf3708ae4.zip
Treat `struct(T)` the same as `struct S { x: T }` WRT being immediate args
Currently we pass a `struct S(u64)` as an immediate value on i686, but a
`struct S { x: u64 }` is passed indirectly. This seems pretty wrong,
as they both have the same underlying LLVM type `{ i64 }`, no sense in
treating them differently.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions