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

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

Issue 2021053002: [i18n] use intrinsics for conversion instead of wrappers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/i18n.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
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 } 442 }
443 return iterator; 443 return iterator;
444 } 444 }
445 445
446 // ---------------------------------------------------------------------------- 446 // ----------------------------------------------------------------------------
447 // Exports 447 // Exports
448 448
449 utils.Export(function(to) { 449 utils.Export(function(to) {
450 to.GetIterator = GetIterator; 450 to.GetIterator = GetIterator;
451 to.GetMethod = GetMethod; 451 to.GetMethod = GetMethod;
452 to.IsFinite = GlobalIsFinite;
453 to.IsNaN = GlobalIsNaN; 452 to.IsNaN = GlobalIsNaN;
454 to.NumberIsNaN = NumberIsNaN; 453 to.NumberIsNaN = NumberIsNaN;
455 to.NumberIsInteger = NumberIsInteger; 454 to.NumberIsInteger = NumberIsInteger;
456 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty; 455 to.ObjectHasOwnProperty = GlobalObject.prototype.hasOwnProperty;
457 }); 456 });
458 457
459 %InstallToContext([ 458 %InstallToContext([
460 "object_value_of", ObjectValueOf, 459 "object_value_of", ObjectValueOf,
461 ]); 460 ]);
462 461
463 }) 462 })
OLDNEW
« no previous file with comments | « src/js/i18n.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698