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

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

Powered by Google App Engine
This is Rietveld 408576698