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

Unified Diff: tests/compiler/dart2js/cps_ir/expected/operators2_7.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/operators2_7.js
diff --git a/tests/compiler/dart2js/cps_ir/expected/operators2_7.js b/tests/compiler/dart2js/cps_ir/expected/operators2_7.js
index 837393fca19f86ec916ad0c8971569cda0de74ad..9faff59c99f566c8ae494eef910168056b785880 100644
--- a/tests/compiler/dart2js/cps_ir/expected/operators2_7.js
+++ b/tests/compiler/dart2js/cps_ir/expected/operators2_7.js
@@ -1,11 +1,12 @@
// Expectation for test:
+// // Method to test: function(foo)
// foo(a) => a ~/ 13;
// main() {
+// print(foo.toString());
// print(foo(5));
// print(foo(100));
// }
-function() {
- P.print(5 / 13 | 0);
- P.print(100 / 13 | 0);
+function(a) {
+ return a / 13 | 0;
}
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/operators2_2.js ('k') | tests/compiler/dart2js/cps_ir/expected/operators_5.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698