Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/control_flow_2.js

Issue 1560963002: Do TypePropagation again after inlining (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: fix tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Expectation for test: 1 // Expectation for test:
2 // foo(a) { print(a); return a; } 2 // foo(a) { try { print(a); } finally { return a; } }
3 // 3 //
4 // main() { 4 // main() {
5 // while (true) { 5 // while (true) {
6 // l: while (true) { 6 // l: while (true) {
7 // while (foo(true)) { 7 // while (foo(true)) {
8 // if (foo(false)) break l; 8 // if (foo(false)) break l;
9 // } 9 // }
10 // print(1); 10 // print(1);
11 // } 11 // }
12 // print(2); 12 // print(2);
13 // } 13 // }
14 // } 14 // }
15 15
16 function() { 16 function() {
17 L1: 17 L0:
18 for (;;) 18 for (;;)
19 L0: 19 for (;;) {
20 for (;;) 20 while (V.foo(true))
21 for (;;) { 21 if (V.foo(false)) {
22 P.print(true); 22 P.print(2);
23 if (false) { 23 continue L0;
24 P.print(1);
25 continue L0;
26 }
27 P.print(false);
28 if (false) {
29 P.print(2);
30 continue L1;
31 }
32 } 24 }
25 P.print(1);
26 }
33 } 27 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/codeUnitAt_2.js ('k') | tests/compiler/dart2js/cps_ir/expected/control_flow_3.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698