Skip to content

refactor goto_block and also add unwind_to_block #66646

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 5 commits into from
Nov 27, 2019

Conversation

RalfJung
Copy link
Member

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

This comment has been minimized.

@RalfJung
Copy link
Member Author

The corresponding Miri PR is at rust-lang/miri#1077

@@ -268,34 +274,39 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
// exception from the exception.)
// This is the dual to the special exception for offset-by-0
// in the inbounds pointer offset operation (see the Miri code, `src/operator.rs`).
if a.is_bits() && b.is_bits() {
//
// Control flow is weird because we cannot early-return (to reach the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a bunch of situations like that in miri... Maybe we should consider using try blocks at some point

@oli-obk
Copy link
Contributor

oli-obk commented Nov 26, 2019

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 26, 2019

📌 Commit 6797d52 has been approved by oli-obk

@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 Nov 26, 2019
@bors
Copy link
Collaborator

bors commented Nov 26, 2019

⌛ Testing commit 6797d52 with merge a7d791b...

bors added a commit that referenced this pull request Nov 26, 2019
refactor goto_block and also add unwind_to_block

r? @oli-obk
@bors
Copy link
Collaborator

bors commented Nov 27, 2019

☀️ Test successful - checks-azure
Approved by: oli-obk
Pushing a7d791b to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 27, 2019
@bors bors merged commit 6797d52 into rust-lang:master Nov 27, 2019
@rust-highfive
Copy link
Contributor

📣 Toolstate changed by #66646!

Tested on commit a7d791b.
Direct link to PR: #66646

💔 miri on windows: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung, @rust-lang/infra).
💔 miri on linux: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Nov 27, 2019
Tested on commit rust-lang/rust@a7d791b.
Direct link to PR: <rust-lang/rust#66646>

💔 miri on windows: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung, @rust-lang/infra).
💔 miri on linux: test-pass → build-fail (cc @oli-obk @eddyb @RalfJung, @rust-lang/infra).
bors added a commit to rust-lang/miri that referenced this pull request Nov 27, 2019
adjust for goto_block refactoring

The Miri side of rust-lang/rust#66646
bors added a commit to rust-lang/miri that referenced this pull request Nov 27, 2019
adjust for goto_block refactoring

The Miri side of rust-lang/rust#66646
@RalfJung RalfJung deleted the unwind_to_block branch November 27, 2019 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. 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.

4 participants