| Index: lib/runtime/dart/typed_data.js
|
| diff --git a/lib/runtime/dart/typed_data.js b/lib/runtime/dart/typed_data.js
|
| index cee99ded99ad67ae640eafe8696722a1eae19d5f..5f8251a026dbddb7a9a856b10dfa1412621e7be1 100644
|
| --- a/lib/runtime/dart/typed_data.js
|
| +++ b/lib/runtime/dart/typed_data.js
|
| @@ -22,7 +22,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| Endianness.LITTLE_ENDIAN = dart.const(new Endianness._(true));
|
| dart.defineLazyProperties(Endianness, {
|
| get HOST_ENDIAN() {
|
| - return ByteData.view(Uint16List.fromList(dart.list([1], core.int)).buffer).getInt8(0) == 1 ? Endianness.LITTLE_ENDIAN : Endianness.BIG_ENDIAN;
|
| + return dart.dcall(ByteData.view(Uint16List.fromList(dart.list([1], core.int)).buffer).getInt8, 0) == 1 ? Endianness.LITTLE_ENDIAN : Endianness.BIG_ENDIAN;
|
| }
|
| });
|
| class ByteData extends core.Object {
|
| @@ -34,7 +34,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asByteData(offsetInBytes, length);
|
| + return dart.dcall(buffer.asByteData, offsetInBytes, length);
|
| }
|
| }
|
| ByteData[dart.implements] = () => [TypedData];
|
| @@ -56,7 +56,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asInt8List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asInt8List, offsetInBytes, length);
|
| }
|
| }
|
| Int8List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -80,7 +80,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asUint8List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asUint8List, offsetInBytes, length);
|
| }
|
| }
|
| Uint8List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -104,7 +104,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asUint8ClampedList(offsetInBytes, length);
|
| + return dart.dcall(buffer.asUint8ClampedList, offsetInBytes, length);
|
| }
|
| }
|
| Uint8ClampedList[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -128,7 +128,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asInt16List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asInt16List, offsetInBytes, length);
|
| }
|
| }
|
| Int16List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -152,7 +152,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asUint16List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asUint16List, offsetInBytes, length);
|
| }
|
| }
|
| Uint16List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -176,7 +176,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asInt32List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asInt32List, offsetInBytes, length);
|
| }
|
| }
|
| Int32List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -200,7 +200,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asUint32List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asUint32List, offsetInBytes, length);
|
| }
|
| }
|
| Uint32List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -224,7 +224,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asInt64List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asInt64List, offsetInBytes, length);
|
| }
|
| }
|
| Int64List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -248,7 +248,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asUint64List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asUint64List, offsetInBytes, length);
|
| }
|
| }
|
| Uint64List[dart.implements] = () => [core.List$(core.int), TypedData];
|
| @@ -272,7 +272,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asFloat32List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asFloat32List, offsetInBytes, length);
|
| }
|
| }
|
| Float32List[dart.implements] = () => [core.List$(core.double), TypedData];
|
| @@ -296,7 +296,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asFloat64List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asFloat64List, offsetInBytes, length);
|
| }
|
| }
|
| Float64List[dart.implements] = () => [core.List$(core.double), TypedData];
|
| @@ -320,7 +320,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asFloat32x4List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asFloat32x4List, offsetInBytes, length);
|
| }
|
| }
|
| Float32x4List[dart.implements] = () => [core.List$(Float32x4), TypedData];
|
| @@ -344,7 +344,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asInt32x4List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asInt32x4List, offsetInBytes, length);
|
| }
|
| }
|
| Int32x4List[dart.implements] = () => [core.List$(Int32x4), TypedData];
|
| @@ -368,7 +368,7 @@ dart_library.library('dart/typed_data', null, /* Imports */[
|
| offsetInBytes = 0;
|
| if (length === void 0)
|
| length = null;
|
| - return buffer.asFloat64x2List(offsetInBytes, length);
|
| + return dart.dcall(buffer.asFloat64x2List, offsetInBytes, length);
|
| }
|
| }
|
| Float64x2List[dart.implements] = () => [core.List$(Float64x2), TypedData];
|
|
|