Skip to content

Cleanup the MIR visitor - #60276

Merged
bors merged 4 commits into
rust-lang:masterfrom
matthewjasper:cleanup-mir-visitor
Apr 30, 2019
Merged

Cleanup the MIR visitor#60276
bors merged 4 commits into
rust-lang:masterfrom
matthewjasper:cleanup-mir-visitor

Conversation

@matthewjasper

Copy link
Copy Markdown
Contributor
  • Remove useless BasicBlock parameters on methods with Locations.
  • Prefer visit_terminator_kind to visit_terminator.
  • Remove Region from PlaceContexts. visit_rvalue should be used when the region is important.
  • Remove unused visitor methods.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @estebank

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 25, 2019
@rust-highfive

This comment has been minimized.

@estebank

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Apr 29, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 4e69d37 has been approved by estebank

@borsbors 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 29, 2019
Centril added a commit to Centril/rust that referenced this pull request Apr 30, 2019
…r=estebank
Cleanup the MIR visitor
* Remove useless `BasicBlock` parameters on methods with `Location`s.
* Prefer `visit_terminator_kind` to `visit_terminator`.
* Remove `Region` from PlaceContexts. `visit_rvalue` should be used when the region is important.
* Remove unused visitor methods.
@CentrilCentril mentioned this pull request Apr 30, 2019
bors added a commit that referenced this pull request Apr 30, 2019
Rollup of 4 pull requests
Successful merges:
- #59869 (SGX target: implemented vectored I/O)
- #60238 (Update rustfmt to 1.2.2)
- #60276 (Cleanup the MIR visitor)
- #60380 (Fix line number display in source view)
Failed merges:
r? @ghost
@bors
bors merged commit 4e69d37 into rust-lang:masterApr 30, 2019
@matthewjasper
matthewjasper deleted the cleanup-mir-visitor branch May 4, 2019 09:19
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

4 participants

@matthewjasper@rust-highfive@estebank@bors