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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/closures_16.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 // class Foo { 2 // class Foo {
3 // get getter { 3 // get getter {
4 // print('getter'); 4 // print('getter');
5 // return (x) => x; 5 // return (x) { try { return x; } finally { } }; // Inhibit inlining.
6 // } 6 // }
7 // } 7 // }
8 // main(x) { 8 // main(x) {
9 // // Getter may or may not be inlined.
9 // var notTearOff = new Foo().getter; 10 // var notTearOff = new Foo().getter;
11 // // Closure is not inlined.
10 // print(notTearOff(123)); 12 // print(notTearOff(123));
11 // } 13 // }
12 14
13 function(x) { 15 function(x) {
14 V.Foo$(); 16 P.print(V.Foo$().get$getter().call$1(123));
15 P.print("getter");
16 P.print(new V.Foo_getter_closure().call$1(123));
17 } 17 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/closures_15.js ('k') | tests/compiler/dart2js/cps_ir/expected/codeUnitAt_2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698