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

Unified Diff: runtime/lib/typed_data.dart

Issue 2276803002: Remove unused external typed data factories. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | « runtime/lib/typed_data.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/typed_data.dart
diff --git a/runtime/lib/typed_data.dart b/runtime/lib/typed_data.dart
index f37cacb1c9ac0509e44b661f97f35d4addc2100d..d8b4324f5e995e13212a2e630427ccc8cdd19ac2 100644
--- a/runtime/lib/typed_data.dart
+++ b/runtime/lib/typed_data.dart
@@ -1873,10 +1873,6 @@ class Float64x2List extends _TypedList with _Float64x2ListMixin implements List<
class _ExternalInt8Array extends _TypedList with _IntListMixin implements Int8List {
- // Factory constructors.
-
- factory _ExternalInt8Array(int length) native "ExternalTypedData_Int8Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
if (index < 0 || index >= length) {
@@ -1909,10 +1905,6 @@ class _ExternalInt8Array extends _TypedList with _IntListMixin implements Int8Li
class _ExternalUint8Array extends _TypedList with _IntListMixin implements Uint8List {
- // Factory constructors.
-
- factory _ExternalUint8Array(int length) native "ExternalTypedData_Uint8Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -1946,10 +1938,6 @@ class _ExternalUint8Array extends _TypedList with _IntListMixin implements Uint8
class _ExternalUint8ClampedArray extends _TypedList with _IntListMixin implements Uint8ClampedList {
- // Factory constructors.
-
- factory _ExternalUint8ClampedArray(int length) native "ExternalTypedData_Uint8ClampedArray_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -1983,10 +1971,6 @@ class _ExternalUint8ClampedArray extends _TypedList with _IntListMixin implement
class _ExternalInt16Array extends _TypedList with _IntListMixin implements Int16List {
- // Factory constructors.
-
- factory _ExternalInt16Array(int length) native "ExternalTypedData_Int16Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -2028,10 +2012,6 @@ class _ExternalInt16Array extends _TypedList with _IntListMixin implements Int16
class _ExternalUint16Array extends _TypedList with _IntListMixin implements Uint16List {
- // Factory constructors.
-
- factory _ExternalUint16Array(int length) native "ExternalTypedData_Uint16Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -2073,10 +2053,6 @@ class _ExternalUint16Array extends _TypedList with _IntListMixin implements Uint
class _ExternalInt32Array extends _TypedList with _IntListMixin implements Int32List {
- // Factory constructors.
-
- factory _ExternalInt32Array(int length) native "ExternalTypedData_Int32Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -2118,10 +2094,6 @@ class _ExternalInt32Array extends _TypedList with _IntListMixin implements Int32
class _ExternalUint32Array extends _TypedList with _IntListMixin implements Uint32List {
- // Factory constructors.
-
- factory _ExternalUint32Array(int length) native "ExternalTypedData_Uint32Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -2163,10 +2135,6 @@ class _ExternalUint32Array extends _TypedList with _IntListMixin implements Uint
class _ExternalInt64Array extends _TypedList with _IntListMixin implements Int64List {
- // Factory constructors.
-
- factory _ExternalInt64Array(int length) native "ExternalTypedData_Int64Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -2208,10 +2176,6 @@ class _ExternalInt64Array extends _TypedList with _IntListMixin implements Int64
class _ExternalUint64Array extends _TypedList with _IntListMixin implements Uint64List {
- // Factory constructors.
-
- factory _ExternalUint64Array(int length) native "ExternalTypedData_Uint64Array_new";
-
// Method(s) implementing the List interface.
int operator[](int index) {
@@ -2253,10 +2217,6 @@ class _ExternalUint64Array extends _TypedList with _IntListMixin implements Uint
class _ExternalFloat32Array extends _TypedList with _DoubleListMixin implements Float32List {
- // Factory constructors.
-
- factory _ExternalFloat32Array(int length) native "ExternalTypedData_Float32Array_new";
-
// Method(s) implementing the List interface.
double operator[](int index) {
@@ -2298,10 +2258,6 @@ class _ExternalFloat32Array extends _TypedList with _DoubleListMixin implements
class _ExternalFloat64Array extends _TypedList with _DoubleListMixin implements Float64List {
- // Factory constructors.
-
- factory _ExternalFloat64Array(int length) native "ExternalTypedData_Float64Array_new";
-
// Method(s) implementing the List interface.
double operator[](int index) {
@@ -2343,10 +2299,6 @@ class _ExternalFloat64Array extends _TypedList with _DoubleListMixin implements
class _ExternalFloat32x4Array extends _TypedList with _Float32x4ListMixin implements Float32x4List {
- // Factory constructors.
-
- factory _ExternalFloat32x4Array(int length) native "ExternalTypedData_Float32x4Array_new";
-
// Method(s) implementing the List interface.
Float32x4 operator[](int index) {
@@ -2388,10 +2340,6 @@ class _ExternalFloat32x4Array extends _TypedList with _Float32x4ListMixin implem
class _ExternalInt32x4Array extends _TypedList with _Int32x4ListMixin implements Int32x4List {
- // Factory constructors.
-
- factory _ExternalInt32x4Array(int length) native "ExternalTypedData_Int32x4Array_new";
-
// Method(s) implementing the List interface.
Int32x4 operator[](int index) {
@@ -2433,10 +2381,6 @@ class _ExternalInt32x4Array extends _TypedList with _Int32x4ListMixin implements
class _ExternalFloat64x2Array extends _TypedList with _Float64x2ListMixin implements Float64x2List {
- // Factory constructors.
-
- factory _ExternalFloat64x2Array(int length) native "ExternalTypedData_Float64x2Array_new";
-
// Method(s) implementing the List interface.
Float64x2 operator[](int index) {
« no previous file with comments | « runtime/lib/typed_data.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698