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

Add constants for trait object fields, and replace "magic numbers" in GEPi() calls with them #6172

Closed
wants to merge 1 commit into from
Closed

Conversation

Sodel-the-Vociferous
Copy link
Contributor

I don't know how one would write a separate test for this sort of thing. Building the compiler, and make check worked, which should mean I didn't screw anything.

I've added trt_field_vtable, trt_field_box, and trt_field_tydesc, and
inserted them in place of the "magic numbers" used to access trait
object fields through GEPi().
bors added a commit that referenced this pull request May 2, 2013
…, r=catamorphism,graydon

I don't know how one would write a separate test for this sort of thing. Building the compiler, and `make check` worked, which should mean I didn't screw anything.
@bors bors closed this May 2, 2013
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 24, 2020
Rustup

changelog: none

r? `@ghost`
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