Skip to content

A few small GEPi/fat pointer related cleanups #27981

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 3 commits into from
Aug 25, 2015
Merged

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Aug 24, 2015

No description provided.

@rust-highfive
Copy link
Contributor

r? @brson

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

@Kimundi
Copy link
Member

Kimundi commented Aug 24, 2015

I feel like get_meta() or get_dst_meta() is more self describing than get_extra().

The functions is useful for all kinds of fat pointers, but get_len()
just feels so wrong for trait object fat pointers. Let's use get_meta()
because that's rather neutral.
StructGEP seems clearer and probably does an even better job of the
micro-optimization that we have in GEPi.
@brson
Copy link
Contributor

brson commented Aug 25, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 25, 2015

📌 Commit 5d9c250 has been approved by brson

@bors
Copy link
Collaborator

bors commented Aug 25, 2015

⌛ Testing commit 5d9c250 with merge 5c630a6...

bors added a commit that referenced this pull request Aug 25, 2015
@bors bors merged commit 5d9c250 into rust-lang:master Aug 25, 2015
@dotdash dotdash deleted the gepi branch January 15, 2016 08:40
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.

5 participants