Skip to content
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

Rewrite is_unsized as a fix-point analysis #768

Closed
fitzgen opened this issue Jun 19, 2017 · 0 comments · Fixed by #1102
Closed

Rewrite is_unsized as a fix-point analysis #768

fitzgen opened this issue Jun 19, 2017 · 0 comments · Fixed by #1102

Comments

@fitzgen
Copy link
Member

fitzgen commented Jun 19, 2017

See #536 for details.

This is very similar to when we re-wrote has_destructor to a fixed-point analysis, and that PR could be used to guide fixing this issue: #850

@fitzgen fitzgen removed the C-assigned label Sep 8, 2017
@fitzgen fitzgen changed the title Rewrite is_unsized as either a graph traversal or fix-point analysis Rewrite is_unsized as a fix-point analysis Sep 8, 2017
@rust-lang rust-lang deleted a comment from tz70s Sep 8, 2017
@rust-lang rust-lang deleted a comment from tz70s Sep 8, 2017
@rust-lang rust-lang deleted a comment from tz70s Sep 8, 2017
fitzgen added a commit to fitzgen/rust-bindgen that referenced this issue Oct 25, 2017
This fixes a couple bugs where we weren't properly adding an `_address`
byte. It also helps pave the way for computing implicit fields (such as padding,
`_address`, vtable pointers, etc) in its own pass, before codegen.

Fixes rust-lang#768
fitzgen added a commit to fitzgen/rust-bindgen that referenced this issue Oct 25, 2017
This fixes a couple bugs where we weren't properly adding an `_address`
byte. It also helps pave the way for computing implicit fields (such as padding,
`_address`, vtable pointers, etc) in its own pass, before codegen.

Fixes rust-lang#768
bors-servo pushed a commit that referenced this issue Oct 25, 2017
Compute sizedness with a fixed-point analysis

This fixes a couple bugs where we weren't properly adding an `_address` byte. It also helps pave the way for computing implicit fields (such as padding, `_address`, vtable pointers, etc) in its own pass, before codegen.

Fixes #768

r? @pepyakin
bors-servo pushed a commit that referenced this issue Oct 25, 2017
Compute sizedness with a fixed-point analysis

This fixes a couple bugs where we weren't properly adding an `_address` byte. It also helps pave the way for computing implicit fields (such as padding, `_address`, vtable pointers, etc) in its own pass, before codegen.

Fixes #768

r? @pepyakin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant