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

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

Issue 2761453002: [typedarrays] Implement %TypedArray%.prototype.reverse in C++ (Closed)
Patch Set: Do not pass isolate Created 3 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 unified diff | Download patch
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 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 to.InnerArrayFilter = InnerArrayFilter; 1622 to.InnerArrayFilter = InnerArrayFilter;
1623 to.InnerArrayFind = InnerArrayFind; 1623 to.InnerArrayFind = InnerArrayFind;
1624 to.InnerArrayFindIndex = InnerArrayFindIndex; 1624 to.InnerArrayFindIndex = InnerArrayFindIndex;
1625 to.InnerArrayForEach = InnerArrayForEach; 1625 to.InnerArrayForEach = InnerArrayForEach;
1626 to.InnerArrayJoin = InnerArrayJoin; 1626 to.InnerArrayJoin = InnerArrayJoin;
1627 to.InnerArrayReduce = InnerArrayReduce; 1627 to.InnerArrayReduce = InnerArrayReduce;
1628 to.InnerArrayReduceRight = InnerArrayReduceRight; 1628 to.InnerArrayReduceRight = InnerArrayReduceRight;
1629 to.InnerArraySome = InnerArraySome; 1629 to.InnerArraySome = InnerArraySome;
1630 to.InnerArraySort = InnerArraySort; 1630 to.InnerArraySort = InnerArraySort;
1631 to.InnerArrayToLocaleString = InnerArrayToLocaleString; 1631 to.InnerArrayToLocaleString = InnerArrayToLocaleString;
1632 to.PackedArrayReverse = PackedArrayReverse;
1633 }); 1632 });
1634 1633
1635 %InstallToContext([ 1634 %InstallToContext([
1636 "array_entries_iterator", IteratorFunctions.entries, 1635 "array_entries_iterator", IteratorFunctions.entries,
1637 "array_for_each_iterator", IteratorFunctions.forEach, 1636 "array_for_each_iterator", IteratorFunctions.forEach,
1638 "array_keys_iterator", IteratorFunctions.keys, 1637 "array_keys_iterator", IteratorFunctions.keys,
1639 "array_pop", ArrayPop, 1638 "array_pop", ArrayPop,
1640 "array_push", ArrayPush, 1639 "array_push", ArrayPush,
1641 "array_shift", ArrayShift, 1640 "array_shift", ArrayShift,
1642 "array_splice", ArraySplice, 1641 "array_splice", ArraySplice,
1643 "array_slice", ArraySlice, 1642 "array_slice", ArraySlice,
1644 "array_unshift", ArrayUnshift, 1643 "array_unshift", ArrayUnshift,
1645 "array_values_iterator", IteratorFunctions.values, 1644 "array_values_iterator", IteratorFunctions.values,
1646 ]); 1645 ]);
1647 1646
1648 }); 1647 });
OLDNEW
« src/elements.cc ('K') | « src/elements.cc ('k') | src/js/typedarray.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698