Chromium Code Reviews

Side by Side Diff: src/js/typedarray.js

Issue 1923803002: Use InternalArrays from certain Intl code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils) { 5 (function(global, utils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
11 // ------------------------------------------------------------------- 11 // -------------------------------------------------------------------
12 // Imports 12 // Imports
13 13
14 // array.js has to come before typedarray.js for this to work 14 // array.js has to come before typedarray.js for this to work
15 var ArrayToString = utils.ImportNow("ArrayToString"); 15 var ArrayToString = utils.ImportNow("ArrayToString");
16 var ArrayValues; 16 var ArrayValues;
17 var GetIterator; 17 var GetIterator;
18 var GetMethod; 18 var GetMethod;
19 var GlobalArray = global.Array; 19 var GlobalArray = global.Array;
20 var GlobalArrayBuffer = global.ArrayBuffer; 20 var GlobalArrayBuffer = global.ArrayBuffer;
21 var GlobalArrayBufferPrototype = GlobalArrayBuffer.prototype; 21 var GlobalArrayBufferPrototype = GlobalArrayBuffer.prototype;
22 var GlobalDataView = global.DataView; 22 var GlobalDataView = global.DataView;
23 var GlobalObject = global.Object; 23 var GlobalObject = global.Object;
24 var InternalArray = utils.InternalArray;
25 var InnerArrayCopyWithin; 24 var InnerArrayCopyWithin;
26 var InnerArrayEvery; 25 var InnerArrayEvery;
27 var InnerArrayFill; 26 var InnerArrayFill;
28 var InnerArrayFilter; 27 var InnerArrayFilter;
29 var InnerArrayFind; 28 var InnerArrayFind;
30 var InnerArrayFindIndex; 29 var InnerArrayFindIndex;
31 var InnerArrayForEach; 30 var InnerArrayForEach;
32 var InnerArrayIncludes; 31 var InnerArrayIncludes;
33 var InnerArrayIndexOf; 32 var InnerArrayIndexOf;
34 var InnerArrayJoin; 33 var InnerArrayJoin;
(...skipping 945 matching lines...)
980 "setUint32", DataViewSetUint32JS, 979 "setUint32", DataViewSetUint32JS,
981 980
982 "getFloat32", DataViewGetFloat32JS, 981 "getFloat32", DataViewGetFloat32JS,
983 "setFloat32", DataViewSetFloat32JS, 982 "setFloat32", DataViewSetFloat32JS,
984 983
985 "getFloat64", DataViewGetFloat64JS, 984 "getFloat64", DataViewGetFloat64JS,
986 "setFloat64", DataViewSetFloat64JS 985 "setFloat64", DataViewSetFloat64JS
987 ]); 986 ]);
988 987
989 }) 988 })
OLDNEW

Powered by Google App Engine