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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/supercall_1.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 Base { 2 // class Base {
3 // m(x) { 3 // m(x) {
4 // print(x+1); 4 // try { print(x+1); } finally { }
5 // } 5 // }
6 // } 6 // }
7 // class Sub extends Base { 7 // class Sub extends Base {
8 // m(x) => super.m(x+10); 8 // m(x) => super.m(x+10);
9 // } 9 // }
10 // main() { 10 // main() {
11 // new Sub().m(100); 11 // new Sub().m(100);
12 // } 12 // }
13 13
14 function() { 14 function() {
15 var line = "" + (100 + 10 + 1); 15 var v0 = V.Sub$();
16 V.Sub$(); 16 V.Base.prototype.m$1.call(v0, 110);
17 if (typeof dartPrint == "function")
18 dartPrint(line);
19 else if (typeof console == "object" && typeof console.log != "undefined")
20 console.log(line);
21 else if (!(typeof window == "object")) {
22 if (!(typeof print == "function"))
23 throw "Unable to print message: " + String(line);
24 print(line);
25 }
26 } 17 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/operators_5.js ('k') | tests/compiler/dart2js/cps_ir/expected/supercall_2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698