| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 | 6 |
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
| 9 #include "src/base/ieee754.h" | 9 #include "src/base/ieee754.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 1795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1806 Builtins::kDatePrototypeSetUTCMinutes, 3, false); | 1806 Builtins::kDatePrototypeSetUTCMinutes, 3, false); |
| 1807 SimpleInstallFunction(prototype, "getUTCMonth", | 1807 SimpleInstallFunction(prototype, "getUTCMonth", |
| 1808 Builtins::kDatePrototypeGetUTCMonth, 0, true); | 1808 Builtins::kDatePrototypeGetUTCMonth, 0, true); |
| 1809 SimpleInstallFunction(prototype, "setUTCMonth", | 1809 SimpleInstallFunction(prototype, "setUTCMonth", |
| 1810 Builtins::kDatePrototypeSetUTCMonth, 2, false); | 1810 Builtins::kDatePrototypeSetUTCMonth, 2, false); |
| 1811 SimpleInstallFunction(prototype, "getUTCSeconds", | 1811 SimpleInstallFunction(prototype, "getUTCSeconds", |
| 1812 Builtins::kDatePrototypeGetUTCSeconds, 0, true); | 1812 Builtins::kDatePrototypeGetUTCSeconds, 0, true); |
| 1813 SimpleInstallFunction(prototype, "setUTCSeconds", | 1813 SimpleInstallFunction(prototype, "setUTCSeconds", |
| 1814 Builtins::kDatePrototypeSetUTCSeconds, 2, false); | 1814 Builtins::kDatePrototypeSetUTCSeconds, 2, false); |
| 1815 SimpleInstallFunction(prototype, "valueOf", Builtins::kDatePrototypeValueOf, | 1815 SimpleInstallFunction(prototype, "valueOf", Builtins::kDatePrototypeValueOf, |
| 1816 0, false); | 1816 0, true); |
| 1817 SimpleInstallFunction(prototype, "getYear", Builtins::kDatePrototypeGetYear, | 1817 SimpleInstallFunction(prototype, "getYear", Builtins::kDatePrototypeGetYear, |
| 1818 0, true); | 1818 0, true); |
| 1819 SimpleInstallFunction(prototype, "setYear", Builtins::kDatePrototypeSetYear, | 1819 SimpleInstallFunction(prototype, "setYear", Builtins::kDatePrototypeSetYear, |
| 1820 1, false); | 1820 1, false); |
| 1821 SimpleInstallFunction(prototype, "toJSON", Builtins::kDatePrototypeToJson, | 1821 SimpleInstallFunction(prototype, "toJSON", Builtins::kDatePrototypeToJson, |
| 1822 1, false); | 1822 1, false); |
| 1823 | 1823 |
| 1824 // Install i18n fallback functions. | 1824 // Install i18n fallback functions. |
| 1825 SimpleInstallFunction(prototype, "toLocaleString", | 1825 SimpleInstallFunction(prototype, "toLocaleString", |
| 1826 Builtins::kDatePrototypeToString, 0, false); | 1826 Builtins::kDatePrototypeToString, 0, false); |
| (...skipping 2918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4745 } | 4745 } |
| 4746 | 4746 |
| 4747 | 4747 |
| 4748 // Called when the top-level V8 mutex is destroyed. | 4748 // Called when the top-level V8 mutex is destroyed. |
| 4749 void Bootstrapper::FreeThreadResources() { | 4749 void Bootstrapper::FreeThreadResources() { |
| 4750 DCHECK(!IsActive()); | 4750 DCHECK(!IsActive()); |
| 4751 } | 4751 } |
| 4752 | 4752 |
| 4753 } // namespace internal | 4753 } // namespace internal |
| 4754 } // namespace v8 | 4754 } // namespace v8 |
| OLD | NEW |