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

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

Issue 2004933003: [builtins] Remove a few dead imports of InternalArray/InternalPackedArray. (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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/js/string.js ('k') | no next file » | 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) { 5 (function(global, utils) {
6 6
7 %CheckIsBootstrapping(); 7 %CheckIsBootstrapping();
8 8
9 // ---------------------------------------------------------------------------- 9 // ----------------------------------------------------------------------------
10 // Imports 10 // Imports
11 11
12 var GlobalArray = global.Array; 12 var GlobalArray = global.Array;
13 var GlobalNumber = global.Number; 13 var GlobalNumber = global.Number;
14 var GlobalObject = global.Object; 14 var GlobalObject = global.Object;
15 var InternalArray = utils.InternalArray;
16 var iteratorSymbol = utils.ImportNow("iterator_symbol"); 15 var iteratorSymbol = utils.ImportNow("iterator_symbol");
17 var MakeRangeError; 16 var MakeRangeError;
18 var MakeSyntaxError; 17 var MakeSyntaxError;
19 var MakeTypeError; 18 var MakeTypeError;
20 var MathAbs; 19 var MathAbs;
21 var NaN = %GetRootNaN(); 20 var NaN = %GetRootNaN();
22 var ObjectToString = utils.ImportNow("object_to_string"); 21 var ObjectToString = utils.ImportNow("object_to_string");
23 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); 22 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol");
24 23
25 utils.Import(function(from) { 24 utils.Import(function(from) {
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 to.NumberIsNaN = NumberIsNaN; 454 to.NumberIsNaN = NumberIsNaN;
456 to.NumberIsInteger = NumberIsInteger; 455 to.NumberIsInteger = NumberIsInteger;
457 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty; 456 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty;
458 }); 457 });
459 458
460 %InstallToContext([ 459 %InstallToContext([
461 "object_value_of", ObjectValueOf, 460 "object_value_of", ObjectValueOf,
462 ]); 461 ]);
463 462
464 }) 463 })
OLDNEW
« no previous file with comments | « src/js/string.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698