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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/control_flow_5.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 // foo(false); 5 // foo(false);
6 // if (foo(true)) { 6 // if (foo(true)) {
7 // print(1); 7 // print(1);
8 // print(1); 8 // print(1);
9 // } else { 9 // } else {
10 // print(2); 10 // print(2);
11 // print(2); 11 // print(2);
12 // } 12 // }
13 // print(3); 13 // print(3);
14 // } 14 // }
15 15
16 function() { 16 function() {
17 P.print(false); 17 V.foo(false);
18 P.print(true); 18 if (V.foo(true)) {
19 if (true) {
20 P.print(1); 19 P.print(1);
21 P.print(1); 20 P.print(1);
22 } else { 21 } else {
23 P.print(2); 22 P.print(2);
24 P.print(2); 23 P.print(2);
25 } 24 }
26 P.print(3); 25 P.print(3);
27 } 26 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/control_flow_4.js ('k') | tests/compiler/dart2js/cps_ir/expected/operators2_1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698