Skip to content

make erase_regions_ty query anonymous#45364

Merged
bors merged 1 commit intorust-lang:masterfrom
nikomatsakis:issue-44137-anon
Oct 21, 2017
Merged

make erase_regions_ty query anonymous#45364
bors merged 1 commit intorust-lang:masterfrom
nikomatsakis:issue-44137-anon

Conversation

@nikomatsakis
Copy link
Contributor

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 18, 2017
@michaelwoerister
Copy link
Member

@bors try

@bors
Copy link
Collaborator

bors commented Oct 18, 2017

⌛ Trying commit b5e2451 with merge afa558b...

bors added a commit that referenced this pull request Oct 18, 2017
@bors
Copy link
Collaborator

bors commented Oct 18, 2017

☀️ Test successful - status-travis
State: approved= try=True

@Mark-Simulacrum
Copy link
Member

@nikomatsakis
Copy link
Contributor Author

Doesn't look especially significant, though it does help a few tests.

@michaelwoerister
Copy link
Member

Thanks, @Mark-Simulacrum! That's indeed what I wanted.

@nikomatsakis I think those are pretty good improvements for a one line change :)

Could we even go further and not even allocate a node if it is anonymous and has no inputs?

@michaelwoerister
Copy link
Member

There might be room for further improvement here by not even allocating a DepNode in cases like this but that would need a slightly bigger change. Let's not wait for that.

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 20, 2017

📌 Commit b5e2451 has been approved by michaelwoerister

@michaelwoerister
Copy link
Member

I opened #45408 regarding further optimization.

@kennytm kennytm added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 20, 2017
@bors
Copy link
Collaborator

bors commented Oct 21, 2017

⌛ Testing commit b5e2451 with merge 6a136f6...

bors added a commit that referenced this pull request Oct 21, 2017
@bors
Copy link
Collaborator

bors commented Oct 21, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: michaelwoerister
Pushing 6a136f6 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants