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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/cps_ir/expected/closures_16.js
diff --git a/tests/compiler/dart2js/cps_ir/expected/closures_15.js b/tests/compiler/dart2js/cps_ir/expected/closures_16.js
similarity index 50%
copy from tests/compiler/dart2js/cps_ir/expected/closures_15.js
copy to tests/compiler/dart2js/cps_ir/expected/closures_16.js
index 46c7d38445f7459e9f8b3bc2bdb5406c605e85ee..e589971379063e562dc228bc06b07dabc9c8652e 100644
--- a/tests/compiler/dart2js/cps_ir/expected/closures_15.js
+++ b/tests/compiler/dart2js/cps_ir/expected/closures_16.js
@@ -2,16 +2,16 @@
// class Foo {
// get getter {
// print('getter');
-// return (x) => x;
+// return (x) { try { return x; } finally { } }; // Inhibit inlining.
// }
// }
// main(x) {
+// // Getter may or may not be inlined.
// var notTearOff = new Foo().getter;
+// // Closure is not inlined.
// print(notTearOff(123));
// }
function(x) {
- V.Foo$();
- P.print("getter");
- P.print(new V.Foo_getter_closure().call$1(123));
+ P.print(V.Foo$().get$getter().call$1(123));
}
« 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