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

Side by Side Diff: src/i18n.js

Issue 1132513003: Call builtin code wrapped in functions from the bootstrapper. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix extra natives Created 5 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/harmony-typedarray.js ('k') | src/json.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 // ECMAScript 402 API implementation. 5 // ECMAScript 402 API implementation.
6 6
7 /** 7 /**
8 * Intl object is a single object that has some named properties, 8 * Intl object is a single object that has some named properties,
9 * all of which are constructors. 9 * all of which are constructors.
10 */ 10 */
11 (function() { 11 (function(global, shared, exports) {
12 12
13 "use strict"; 13 "use strict";
14 14
15 %CheckIsBootstrapping(); 15 %CheckIsBootstrapping();
16 16
17 var GlobalBoolean = global.Boolean; 17 var GlobalBoolean = global.Boolean;
18 var GlobalDate = global.Date; 18 var GlobalDate = global.Date;
19 var GlobalNumber = global.Number; 19 var GlobalNumber = global.Number;
20 var GlobalRegExp = global.RegExp; 20 var GlobalRegExp = global.RegExp;
21 var GlobalString = global.String; 21 var GlobalString = global.String;
(...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 throw MakeTypeError(kOrdinaryFunctionCalledAsConstructor); 2051 throw MakeTypeError(kOrdinaryFunctionCalledAsConstructor);
2052 } 2052 }
2053 2053
2054 var locales = %_Arguments(0); 2054 var locales = %_Arguments(0);
2055 var options = %_Arguments(1); 2055 var options = %_Arguments(1);
2056 return toLocaleDateTime( 2056 return toLocaleDateTime(
2057 this, locales, options, 'time', 'time', 'dateformattime'); 2057 this, locales, options, 'time', 'time', 'dateformattime');
2058 } 2058 }
2059 ); 2059 );
2060 2060
2061 })(); 2061 })
OLDNEW
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/json.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698