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

Unified Diff: test/codegen/expect/notnull.js

Issue 1920293005: Improve code for shifts and bitwise operations. (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « lib/src/compiler/code_generator.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/notnull.js
diff --git a/test/codegen/expect/notnull.js b/test/codegen/expect/notnull.js
index 58b7ccf6108eef3f340f07d321f9c5dd0414880c..2bdaa49f4288ee4579c35c8810b4f2f01abf1891 100644
--- a/test/codegen/expect/notnull.js
+++ b/test/codegen/expect/notnull.js
@@ -8,11 +8,11 @@ dart_library.library('notnull', null, /* Imports */[
const notnull = Object.create(null);
notnull.intAssignments = function() {
let i = 0;
- i = (i & 1) >>> 0;
+ i = i & 1;
i = (i | 1) >>> 0;
i = (i ^ 1) >>> 0;
i = i[dartx['>>']](1);
- i = i[dartx['<<']](1);
+ i = i << 1 >>> 0;
i = i - 1;
i = i[dartx['%']](1);
i = i + 1;
« no previous file with comments | « lib/src/compiler/code_generator.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698