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

Unified Diff: tests/compiler/dart2js/cps_ir/expected/operators2_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/operators2_1.js
diff --git a/tests/compiler/dart2js/cps_ir/expected/operators2_1.js b/tests/compiler/dart2js/cps_ir/expected/operators2_1.js
index 5e39b1efa3b322c4276276ec6c896a8ff942c4ca..71a1da57b9c7edb855a7688236d525dfc6ec892f 100644
--- a/tests/compiler/dart2js/cps_ir/expected/operators2_1.js
+++ b/tests/compiler/dart2js/cps_ir/expected/operators2_1.js
@@ -1,11 +1,12 @@
// Expectation for test:
+// // Method to test: function(foo)
// foo(a, b) => ((a & 0xff0000) >> 1) & b;
// main() {
+// print(foo.toString());
// print(foo(123, 234));
// print(foo(0, 2));
// }
-function() {
- P.print((123 & 16711680) >>> 1 & 234);
- P.print((0 & 16711680) >>> 1 & 2);
+function(a, b) {
+ return (a & 16711680) >>> 1 & b;
}
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/control_flow_5.js ('k') | tests/compiler/dart2js/cps_ir/expected/operators2_2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698