-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #115231 - saethlin:dont-ignore-wasm, r=Mark-Simulacrum
Remove some wasm/emscripten ignores I'm planning on landing a few PRs like this that remove ignores that aren't required. This just covers mir-opt and codegen tests.
- Loading branch information
Showing
5 changed files
with
18 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
tests/mir-opt/pre-codegen/spans.outer.PreCodegen.after.panic-abort.mir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
// MIR for `outer` after PreCodegen | ||
|
||
fn outer(_1: u8) -> u8 { | ||
debug v => _1; // in scope 0 at $DIR/spans.rs:10:14: 10:15 | ||
let mut _0: u8; // return place in scope 0 at $DIR/spans.rs:10:24: 10:26 | ||
let mut _2: &u8; // in scope 0 at $DIR/spans.rs:11:11: 11:13 | ||
debug v => _1; // in scope 0 at $DIR/spans.rs:9:14: 9:15 | ||
let mut _0: u8; // return place in scope 0 at $DIR/spans.rs:9:24: 9:26 | ||
let mut _2: &u8; // in scope 0 at $DIR/spans.rs:10:11: 10:13 | ||
|
||
bb0: { | ||
StorageLive(_2); // scope 0 at $DIR/spans.rs:11:11: 11:13 | ||
_2 = &_1; // scope 0 at $DIR/spans.rs:11:11: 11:13 | ||
_0 = inner(move _2) -> [return: bb1, unwind unreachable]; // scope 0 at $DIR/spans.rs:11:5: 11:14 | ||
StorageLive(_2); // scope 0 at $DIR/spans.rs:10:11: 10:13 | ||
_2 = &_1; // scope 0 at $DIR/spans.rs:10:11: 10:13 | ||
_0 = inner(move _2) -> [return: bb1, unwind unreachable]; // scope 0 at $DIR/spans.rs:10:5: 10:14 | ||
// mir::Constant | ||
// + span: $DIR/spans.rs:11:5: 11:10 | ||
// + span: $DIR/spans.rs:10:5: 10:10 | ||
// + literal: Const { ty: for<'a> fn(&'a u8) -> u8 {inner}, val: Value(<ZST>) } | ||
} | ||
|
||
bb1: { | ||
StorageDead(_2); // scope 0 at $DIR/spans.rs:11:13: 11:14 | ||
return; // scope 0 at $DIR/spans.rs:12:2: 12:2 | ||
StorageDead(_2); // scope 0 at $DIR/spans.rs:10:13: 10:14 | ||
return; // scope 0 at $DIR/spans.rs:11:2: 11:2 | ||
} | ||
} |
18 changes: 9 additions & 9 deletions
18
tests/mir-opt/pre-codegen/spans.outer.PreCodegen.after.panic-unwind.mir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
// MIR for `outer` after PreCodegen | ||
|
||
fn outer(_1: u8) -> u8 { | ||
debug v => _1; // in scope 0 at $DIR/spans.rs:10:14: 10:15 | ||
let mut _0: u8; // return place in scope 0 at $DIR/spans.rs:10:24: 10:26 | ||
let mut _2: &u8; // in scope 0 at $DIR/spans.rs:11:11: 11:13 | ||
debug v => _1; // in scope 0 at $DIR/spans.rs:9:14: 9:15 | ||
let mut _0: u8; // return place in scope 0 at $DIR/spans.rs:9:24: 9:26 | ||
let mut _2: &u8; // in scope 0 at $DIR/spans.rs:10:11: 10:13 | ||
|
||
bb0: { | ||
StorageLive(_2); // scope 0 at $DIR/spans.rs:11:11: 11:13 | ||
_2 = &_1; // scope 0 at $DIR/spans.rs:11:11: 11:13 | ||
_0 = inner(move _2) -> [return: bb1, unwind continue]; // scope 0 at $DIR/spans.rs:11:5: 11:14 | ||
StorageLive(_2); // scope 0 at $DIR/spans.rs:10:11: 10:13 | ||
_2 = &_1; // scope 0 at $DIR/spans.rs:10:11: 10:13 | ||
_0 = inner(move _2) -> [return: bb1, unwind continue]; // scope 0 at $DIR/spans.rs:10:5: 10:14 | ||
// mir::Constant | ||
// + span: $DIR/spans.rs:11:5: 11:10 | ||
// + span: $DIR/spans.rs:10:5: 10:10 | ||
// + literal: Const { ty: for<'a> fn(&'a u8) -> u8 {inner}, val: Value(<ZST>) } | ||
} | ||
|
||
bb1: { | ||
StorageDead(_2); // scope 0 at $DIR/spans.rs:11:13: 11:14 | ||
return; // scope 0 at $DIR/spans.rs:12:2: 12:2 | ||
StorageDead(_2); // scope 0 at $DIR/spans.rs:10:13: 10:14 | ||
return; // scope 0 at $DIR/spans.rs:11:2: 11:2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters