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

Side by Side Diff: src/date.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/collection-iterator.js ('k') | src/generator.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 // This file relies on the fact that the following declarations have been made 5 // This file relies on the fact that the following declarations have been made
6 // in v8natives.js: 6 // in v8natives.js:
7 // var $isFinite = GlobalIsFinite; 7 // var $isFinite = GlobalIsFinite;
8 8
9 var $createDate; 9 var $createDate;
10 10
11 // ------------------------------------------------------------------- 11 // -------------------------------------------------------------------
12 12
13 (function() { 13 (function(global, shared, exports) {
14 14
15 "use strict"; 15 "use strict";
16 16
17 %CheckIsBootstrapping(); 17 %CheckIsBootstrapping();
18 18
19 var GlobalDate = global.Date; 19 var GlobalDate = global.Date;
20 20
21 // This file contains date support implemented in JavaScript. 21 // This file contains date support implemented in JavaScript.
22 22
23 var timezone_cache_time = NAN; 23 var timezone_cache_time = NAN;
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 "toUTCString", DateToUTCString, 816 "toUTCString", DateToUTCString,
817 "getYear", DateGetYear, 817 "getYear", DateGetYear,
818 "setYear", DateSetYear, 818 "setYear", DateSetYear,
819 "toISOString", DateToISOString, 819 "toISOString", DateToISOString,
820 "toJSON", DateToJSON 820 "toJSON", DateToJSON
821 ]); 821 ]);
822 822
823 // Expose to the global scope. 823 // Expose to the global scope.
824 $createDate = CreateDate; 824 $createDate = CreateDate;
825 825
826 })(); 826 })
OLDNEW
« no previous file with comments | « src/collection-iterator.js ('k') | src/generator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698