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

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

Powered by Google App Engine
This is Rietveld 408576698