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

Unified Diff: test/codegen/expect/dart/_native_typed_data.js

Issue 977153002: Fix increment on nullable (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove assignments Created 5 years, 10 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 | « test/codegen/expect/dart/_js_helper.js ('k') | test/codegen/expect/dart/async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dart/_native_typed_data.js
diff --git a/test/codegen/expect/dart/_native_typed_data.js b/test/codegen/expect/dart/_native_typed_data.js
index 3671ece4f85cae90d963baba5cde6e54b1138361..0fce66511cac50d587b38106e1cb3f4e799212e0 100644
--- a/test/codegen/expect/dart/_native_typed_data.js
+++ b/test/codegen/expect/dart/_native_typed_data.js
@@ -130,7 +130,7 @@ var _native_typed_data;
}
NativeFloat32x4List$_slowFromList(list) {
this[_storage] = new NativeFloat32List(dart.notNull(list.length) * 4);
- for (let i = 0; dart.notNull(i) < dart.notNull(list.length); dart.notNull(i)++) {
+ for (let i = 0; dart.notNull(i) < dart.notNull(list.length); i = dart.notNull(i) + 1) {
let e = list.get(i);
this[_storage].set(dart.notNull(i) * 4 + 0, e.x);
this[_storage].set(dart.notNull(i) * 4 + 1, e.y);
@@ -221,7 +221,7 @@ var _native_typed_data;
}
NativeInt32x4List$_slowFromList(list) {
this[_storage] = new NativeInt32List(dart.notNull(list.length) * 4);
- for (let i = 0; dart.notNull(i) < dart.notNull(list.length); dart.notNull(i)++) {
+ for (let i = 0; dart.notNull(i) < dart.notNull(list.length); i = dart.notNull(i) + 1) {
let e = list.get(i);
this[_storage].set(dart.notNull(i) * 4 + 0, e.x);
this[_storage].set(dart.notNull(i) * 4 + 1, e.y);
@@ -312,7 +312,7 @@ var _native_typed_data;
}
NativeFloat64x2List$_slowFromList(list) {
this[_storage] = new NativeFloat64List(dart.notNull(list.length) * 2);
- for (let i = 0; dart.notNull(i) < dart.notNull(list.length); dart.notNull(i)++) {
+ for (let i = 0; dart.notNull(i) < dart.notNull(list.length); i = dart.notNull(i) + 1) {
let e = list.get(i);
this[_storage].set(dart.notNull(i) * 2 + 0, e.x);
this[_storage].set(dart.notNull(i) * 2 + 1, e.y);
@@ -446,7 +446,7 @@ var _native_typed_data;
if (dart.is(list, _interceptors.JSIndexable))
return list;
let result = new core.List(list.length);
- for (let i = 0; dart.notNull(i) < dart.notNull(list.length); dart.notNull(i)++) {
+ for (let i = 0; dart.notNull(i) < dart.notNull(list.length); i = dart.notNull(i) + 1) {
result.set(i, list.get(i));
}
return result;
« no previous file with comments | « test/codegen/expect/dart/_js_helper.js ('k') | test/codegen/expect/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698