]> git.lizzy.rs Git - rust.git/commit
Auto merge of #31653 - tomaka:emscripten-abi, r=eddyb
authorbors <bors@rust-lang.org>
Mon, 15 Feb 2016 11:07:02 +0000 (11:07 +0000)
committerbors <bors@rust-lang.org>
Mon, 15 Feb 2016 11:07:02 +0000 (11:07 +0000)
commit9a7913786c2e1923e30faf7c6eb680546259653c
tree9030e2a35272724ca7e842ab24bd7b4f4a0bb596
parent5ba94028ac1f459fc5a600f6b2b59a4079288e17
parent5b224ec94da5cef4562ed834a5f0a5a4b7655da3
Auto merge of #31653 - tomaka:emscripten-abi, r=eddyb

Needs a correct review because I'm not too confident with how this works.
All tests related to the C ABI are now passing.

References:
- https://github.com/kripken/emscripten-fastcomp-clang/blob/dbe68fecd03d6f646bd075963c3cc0e7130e5767/lib/CodeGen/TargetInfo.cpp#L479-L489
- https://github.com/kripken/emscripten-fastcomp-clang/blob/dbe68fecd03d6f646bd075963c3cc0e7130e5767/lib/CodeGen/TargetInfo.cpp#L466-L477

The `classifyArgumentType` function has two different paths depending on `RAA == CGCXXABI::RAA_DirectInMemory`, but I don't really know what's the corresponding option in Rust.

cc @brson @eddyb