Skip to content

Remove VarValue::{parent,if_not_self}. #43

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 1 commit into from
Feb 23, 2023

Conversation

nnethercote
Copy link
Contributor

These have a single call site and the code is clearer without them. Plus it might make rustc a little faster (see
rust-lang/rust#108253).

These have a single call site and the code is clearer without them. Plus
it might make rustc a little faster (see
rust-lang/rust#108253).
@nikomatsakis nikomatsakis merged commit eb9ea66 into rust-lang:master Feb 23, 2023
nikomatsakis added a commit to nikomatsakis/ena that referenced this pull request Feb 23, 2023
This includes nnethercote's optimization from rust-lang#43
@nnethercote nnethercote deleted the rm-VarValue-methods branch February 23, 2023 21:13
nnethercote added a commit to nnethercote/rust that referenced this pull request Feb 23, 2023
To get the small performance improvements from
rust-lang/ena#43.
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