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

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

Issue 997143003: Fix for conditional expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Add test case Created 5 years, 9 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/_internal.js ('k') | test/codegen/expect/dart/convert.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 0fce66511cac50d587b38106e1cb3f4e799212e0..8013696b038db575a98ffa44e1dcafe60faeae42 100644
--- a/test/codegen/expect/dart/_native_typed_data.js
+++ b/test/codegen/expect/dart/_native_typed_data.js
@@ -76,7 +76,7 @@ var _native_typed_data;
offsetInBytes = 0;
if (length === void 0)
length = null;
- let storage = dart.as(this.asInt32List(offsetInBytes, dart.as(length !== null ? dart.notNull(length) * 4 : null, core.int)), NativeInt32List);
+ let storage = dart.as(this.asInt32List(offsetInBytes, length !== null ? dart.notNull(length) * 4 : null), NativeInt32List);
return new NativeInt32x4List._externalStorage(storage);
}
asFloat32List(offsetInBytes, length) {
@@ -98,7 +98,7 @@ var _native_typed_data;
offsetInBytes = 0;
if (length === void 0)
length = null;
- let storage = dart.as(this.asFloat32List(offsetInBytes, dart.as(length !== null ? dart.notNull(length) * 4 : null, core.int)), NativeFloat32List);
+ let storage = dart.as(this.asFloat32List(offsetInBytes, length !== null ? dart.notNull(length) * 4 : null), NativeFloat32List);
return new NativeFloat32x4List._externalStorage(storage);
}
asFloat64x2List(offsetInBytes, length) {
@@ -106,7 +106,7 @@ var _native_typed_data;
offsetInBytes = 0;
if (length === void 0)
length = null;
- let storage = dart.as(this.asFloat64List(offsetInBytes, dart.as(length !== null ? dart.notNull(length) * 2 : null, core.int)), NativeFloat64List);
+ let storage = dart.as(this.asFloat64List(offsetInBytes, length !== null ? dart.notNull(length) * 2 : null), NativeFloat64List);
return new NativeFloat64x2List._externalStorage(storage);
}
asByteData(offsetInBytes, length) {
« no previous file with comments | « test/codegen/expect/dart/_internal.js ('k') | test/codegen/expect/dart/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698