Skip to content

Commit

Permalink
fix tests in wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
arielb1 committed Dec 3, 2017
1 parent 6594799 commit ff0b84d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/mir-opt/match_false_edges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn main() {

// END RUST SOURCE
//
// START rustc.full_tested_match.SimplifyBranches-initial.before.mir
// START rustc.full_tested_match.QualifyAndPromoteConstants.after.mir
// bb0: {
// ...
// _2 = std::option::Option<i32>::Some(const 42i32,);
Expand Down Expand Up @@ -110,9 +110,9 @@ fn main() {
// ...
// return;
// }
// END rustc.full_tested_match.SimplifyBranches-initial.before.mir
// END rustc.full_tested_match.QualifyAndPromoteConstants.after.mir
//
// START rustc.full_tested_match2.SimplifyBranches-initial.before.mir
// START rustc.full_tested_match2.QualifyAndPromoteConstants.before.mir
// bb0: {
// ...
// _2 = std::option::Option<i32>::Some(const 42i32,);
Expand Down Expand Up @@ -173,9 +173,9 @@ fn main() {
// ...
// return;
// }
// END rustc.full_tested_match2.SimplifyBranches-initial.before.mir
// END rustc.full_tested_match2.QualifyAndPromoteConstants.before.mir
//
// START rustc.main.SimplifyBranches-initial.before.mir
// START rustc.main.QualifyAndPromoteConstants.before.mir
// bb0: {
// ...
// _2 = std::option::Option<i32>::Some(const 1i32,);
Expand Down Expand Up @@ -252,4 +252,4 @@ fn main() {
// ...
// return;
// }
// END rustc.main.SimplifyBranches-initial.before.mir
// END rustc.main.QualifyAndPromoteConstants.before.mir
2 changes: 2 additions & 0 deletions src/test/mir-opt/validate_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// except according to those terms.

// ignore-tidy-linelength
// ignore-wasm32-bare unwinding being disabled causes differences in output
// ignore-wasm64-bare unwinding being disabled causes differences in output
// compile-flags: -Z verbose -Z mir-emit-validate=1

fn main() {
Expand Down

0 comments on commit ff0b84d

Please sign in to comment.