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

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

Issue 1413173003: Move error message makers off js builtins object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 1 month 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/debug/mirrors.js ('k') | src/js/array-iterator.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
11 // ------------------------------------------------------------------- 11 // -------------------------------------------------------------------
12 // Imports 12 // Imports
13 13
14 var Delete; 14 var Delete;
15 var FLAG_harmony_tolength; 15 var FLAG_harmony_tolength;
16 var GlobalArray = global.Array; 16 var GlobalArray = global.Array;
17 var InternalArray = utils.InternalArray; 17 var InternalArray = utils.InternalArray;
18 var InternalPackedArray = utils.InternalPackedArray; 18 var InternalPackedArray = utils.InternalPackedArray;
19 var MakeTypeError;
19 var MinSimple; 20 var MinSimple;
20 var ObjectHasOwnProperty; 21 var ObjectHasOwnProperty;
21 var ObjectIsFrozen; 22 var ObjectIsFrozen;
22 var ObjectIsSealed; 23 var ObjectIsSealed;
23 var ObjectToString; 24 var ObjectToString;
24 var ObserveBeginPerformSplice; 25 var ObserveBeginPerformSplice;
25 var ObserveEndPerformSplice; 26 var ObserveEndPerformSplice;
26 var ObserveEnqueueSpliceRecord; 27 var ObserveEnqueueSpliceRecord;
27 var unscopablesSymbol = utils.ImportNow("unscopables_symbol"); 28 var unscopablesSymbol = utils.ImportNow("unscopables_symbol");
28 29
29 utils.Import(function(from) { 30 utils.Import(function(from) {
30 Delete = from.Delete; 31 Delete = from.Delete;
32 MakeTypeError = from.MakeTypeError;
31 MinSimple = from.MinSimple; 33 MinSimple = from.MinSimple;
32 ObjectHasOwnProperty = from.ObjectHasOwnProperty; 34 ObjectHasOwnProperty = from.ObjectHasOwnProperty;
33 ObjectIsFrozen = from.ObjectIsFrozen; 35 ObjectIsFrozen = from.ObjectIsFrozen;
34 ObjectIsSealed = from.ObjectIsSealed; 36 ObjectIsSealed = from.ObjectIsSealed;
35 ObjectToString = from.ObjectToString; 37 ObjectToString = from.ObjectToString;
36 ObserveBeginPerformSplice = from.ObserveBeginPerformSplice; 38 ObserveBeginPerformSplice = from.ObserveBeginPerformSplice;
37 ObserveEndPerformSplice = from.ObserveEndPerformSplice; 39 ObserveEndPerformSplice = from.ObserveEndPerformSplice;
38 ObserveEnqueueSpliceRecord = from.ObserveEnqueueSpliceRecord; 40 ObserveEnqueueSpliceRecord = from.ObserveEnqueueSpliceRecord;
39 }); 41 });
40 42
(...skipping 1629 matching lines...) Expand 10 before | Expand all | Expand 10 after
1670 %InstallToContext([ 1672 %InstallToContext([
1671 "array_pop", ArrayPop, 1673 "array_pop", ArrayPop,
1672 "array_push", ArrayPush, 1674 "array_push", ArrayPush,
1673 "array_shift", ArrayShift, 1675 "array_shift", ArrayShift,
1674 "array_splice", ArraySplice, 1676 "array_splice", ArraySplice,
1675 "array_slice", ArraySlice, 1677 "array_slice", ArraySlice,
1676 "array_unshift", ArrayUnshift, 1678 "array_unshift", ArrayUnshift,
1677 ]); 1679 ]);
1678 1680
1679 }); 1681 });
OLDNEW
« no previous file with comments | « src/debug/mirrors.js ('k') | src/js/array-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698