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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/cps_ir/expected/supercall_1.js
diff --git a/tests/compiler/dart2js/cps_ir/expected/supercall_1.js b/tests/compiler/dart2js/cps_ir/expected/supercall_1.js
index 4c7ee2622708264928173b66107e62fdb94000a6..cc601ddf5a55363235c958505fc90acf546fefe9 100644
--- a/tests/compiler/dart2js/cps_ir/expected/supercall_1.js
+++ b/tests/compiler/dart2js/cps_ir/expected/supercall_1.js
@@ -1,7 +1,7 @@
// Expectation for test:
// class Base {
// m(x) {
-// print(x+1);
+// try { print(x+1); } finally { }
// }
// }
// class Sub extends Base {
@@ -12,15 +12,6 @@
// }
function() {
- var line = "" + (100 + 10 + 1);
- V.Sub$();
- if (typeof dartPrint == "function")
- dartPrint(line);
- else if (typeof console == "object" && typeof console.log != "undefined")
- console.log(line);
- else if (!(typeof window == "object")) {
- if (!(typeof print == "function"))
- throw "Unable to print message: " + String(line);
- print(line);
- }
+ var v0 = V.Sub$();
+ V.Base.prototype.m$1.call(v0, 110);
}
« 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