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

Minor refactoring around IndexVec usage in generator transformation #71551

Merged
merged 1 commit into from
Apr 26, 2020

Conversation

gizmondo
Copy link
Contributor

Replace hash map with IndexVec for liveness data.
Utilize IndexVec::push return value to avoid redundant object creation.

r? @eddyb

Utilize IndexVec::push to avoid redundant object creation.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 25, 2020
@jonas-schievink
Copy link
Contributor

Changes look good to me. Let's run benchmarks just in case.

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Contributor

bors commented Apr 25, 2020

⌛ Trying commit 7749591 with merge 15d7fec3d3e5a10776e0f42253cd52b579e4cfa5...

@bors
Copy link
Contributor

bors commented Apr 25, 2020

☀️ Try build successful - checks-azure
Build commit: 15d7fec3d3e5a10776e0f42253cd52b579e4cfa5 (15d7fec3d3e5a10776e0f42253cd52b579e4cfa5)

@rust-timer
Copy link
Collaborator

Queued 15d7fec3d3e5a10776e0f42253cd52b579e4cfa5 with parent a58b1ed, future comparison URL.

@jonas-schievink
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Apr 26, 2020

📌 Commit 7749591 has been approved by jonas-schievink

@bors bors 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 Apr 26, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 26, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#71421 (Add a function to turn Box<T> into Box<[T]>)
 - rust-lang#71537 (Remove support for self-opening)
 - rust-lang#71551 (Minor refactoring around IndexVec usage in generator transformation)
 - rust-lang#71569 ([miri] Throw UB if target size and data size don't match)
 - rust-lang#71576 (check that `AsRef` and `AsMut` are inlined)

Failed merges:

 - rust-lang#71558 (Cleanup and document `-Z tls-model` )

r? @ghost
@bors bors merged commit d128774 into rust-lang:master Apr 26, 2020
@gizmondo gizmondo deleted the gen-index-vec branch April 27, 2020 01:34
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.

6 participants