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

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

Issue 2761453002: [typedarrays] Implement %TypedArray%.prototype.reverse in C++ (Closed)
Patch Set: rebase Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « src/elements.cc ('k') | src/js/typedarray.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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, extrasUtils) { 5 (function(global, utils, extrasUtils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 to.ArrayJoin = ArrayJoin; 1439 to.ArrayJoin = ArrayJoin;
1440 to.ArrayPush = ArrayPush; 1440 to.ArrayPush = ArrayPush;
1441 to.ArrayToString = ArrayToString; 1441 to.ArrayToString = ArrayToString;
1442 to.ArrayValues = IteratorFunctions.values, 1442 to.ArrayValues = IteratorFunctions.values,
1443 to.InnerArrayFilter = InnerArrayFilter; 1443 to.InnerArrayFilter = InnerArrayFilter;
1444 to.InnerArrayFind = InnerArrayFind; 1444 to.InnerArrayFind = InnerArrayFind;
1445 to.InnerArrayFindIndex = InnerArrayFindIndex; 1445 to.InnerArrayFindIndex = InnerArrayFindIndex;
1446 to.InnerArrayJoin = InnerArrayJoin; 1446 to.InnerArrayJoin = InnerArrayJoin;
1447 to.InnerArraySort = InnerArraySort; 1447 to.InnerArraySort = InnerArraySort;
1448 to.InnerArrayToLocaleString = InnerArrayToLocaleString; 1448 to.InnerArrayToLocaleString = InnerArrayToLocaleString;
1449 to.PackedArrayReverse = PackedArrayReverse;
1450 }); 1449 });
1451 1450
1452 %InstallToContext([ 1451 %InstallToContext([
1453 "array_entries_iterator", IteratorFunctions.entries, 1452 "array_entries_iterator", IteratorFunctions.entries,
1454 "array_keys_iterator", IteratorFunctions.keys, 1453 "array_keys_iterator", IteratorFunctions.keys,
1455 "array_pop", ArrayPop, 1454 "array_pop", ArrayPop,
1456 "array_push", ArrayPush, 1455 "array_push", ArrayPush,
1457 "array_shift", ArrayShift, 1456 "array_shift", ArrayShift,
1458 "array_splice", ArraySplice, 1457 "array_splice", ArraySplice,
1459 "array_slice", ArraySlice, 1458 "array_slice", ArraySlice,
1460 "array_unshift", ArrayUnshift, 1459 "array_unshift", ArrayUnshift,
1461 "array_values_iterator", IteratorFunctions.values, 1460 "array_values_iterator", IteratorFunctions.values,
1462 ]); 1461 ]);
1463 1462
1464 }); 1463 });
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | src/js/typedarray.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698