]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #36704 - Mark-Simulacrum:cleanup-cabi, r=Aatch
authorJonathan Turner <jonathandturner@users.noreply.github.com>
Thu, 29 Sep 2016 03:21:51 +0000 (20:21 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2016 03:21:51 +0000 (20:21 -0700)
Move ty_align and ty_size out of most C ABI code

s390x's C ABI ty_align and ty_size are not moved because the
implementation of ty_align varies in an atypical pattern: it calls
ty_size for the llvm::Vector type kind. ty_size then cannot be moved
since it indirectly calls ty_align through align.

Fixes #5116 (probably, not sure).

1  2 
src/librustc_trans/abi.rs

Simple merge