Skip to content

Remove the ElementType from DeallocBoxInst's representation. #6037

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 2, 2016

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Dec 2, 2016

It was already redundant and removed from the source representation. We need to remove it now that boxes have multiple elements.

NFC, since it's unlikely anyone would ask this of a SIL-only type to begin with.
This was made redundant by typed boxes, and the type operand was already removed from textual SIL, but the field was never removed from the instruction's in memory representation. It becomes wrong in the face of compound boxes with layout.
@jckarter
Copy link
Contributor Author

jckarter commented Dec 2, 2016

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit ebb103c into swiftlang:master Dec 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants