Skip to content

Move ty_align and ty_size out of most C ABI code #36704

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

Mark-Simulacrum
Copy link
Member

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).

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.
@rust-highfive
Copy link
Contributor

r? @Aatch

(rust_highfive has picked a reviewer for you, use r? to override)

@Aatch
Copy link
Contributor

Aatch commented Sep 29, 2016

@bors r=

@bors
Copy link
Collaborator

bors commented Sep 29, 2016

📌 Commit dfe8bd1 has been approved by ``

@Aatch
Copy link
Contributor

Aatch commented Sep 29, 2016

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 29, 2016

📌 Commit dfe8bd1 has been approved by Aatch

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 29, 2016
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 rust-lang#5116 (probably, not sure).
bors added a commit that referenced this pull request Sep 29, 2016
Rollup of 12 pull requests

- Successful merges: #35286, #35892, #36460, #36704, #36741, #36760, #36787, #36789, #36794, #36803, #36811, #36813
- Failed merges:
@bors bors merged commit dfe8bd1 into rust-lang:master Sep 29, 2016
@Mark-Simulacrum Mark-Simulacrum deleted the cleanup-cabi branch September 29, 2016 13:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants