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/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/extensions/externalize-string-extension.h" | 10 #include "src/extensions/externalize-string-extension.h" |
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", | 1559 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", |
1560 observers_begin_perform_splice); | 1560 observers_begin_perform_splice); |
1561 INSTALL_NATIVE(JSFunction, "EndPerformSplice", | 1561 INSTALL_NATIVE(JSFunction, "EndPerformSplice", |
1562 observers_end_perform_splice); | 1562 observers_end_perform_splice); |
1563 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", | 1563 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", |
1564 native_object_observe); | 1564 native_object_observe); |
1565 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", | 1565 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", |
1566 native_object_get_notifier); | 1566 native_object_get_notifier); |
1567 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange", | 1567 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange", |
1568 native_object_notifier_perform_change); | 1568 native_object_notifier_perform_change); |
1569 INSTALL_NATIVE(JSFunction, "ArrayValues", array_values_iterator); | 1569 INSTALL_NATIVE(JSFunction, "$arrayValues", array_values_iterator); |
1570 } | 1570 } |
1571 | 1571 |
1572 | 1572 |
1573 void Genesis::InstallExperimentalNativeFunctions() { | 1573 void Genesis::InstallExperimentalNativeFunctions() { |
1574 if (FLAG_harmony_proxies) { | 1574 if (FLAG_harmony_proxies) { |
1575 INSTALL_NATIVE(JSFunction, "$proxyDerivedHasTrap", derived_has_trap); | 1575 INSTALL_NATIVE(JSFunction, "$proxyDerivedHasTrap", derived_has_trap); |
1576 INSTALL_NATIVE(JSFunction, "$proxyDerivedGetTrap", derived_get_trap); | 1576 INSTALL_NATIVE(JSFunction, "$proxyDerivedGetTrap", derived_get_trap); |
1577 INSTALL_NATIVE(JSFunction, "$proxyDerivedSetTrap", derived_set_trap); | 1577 INSTALL_NATIVE(JSFunction, "$proxyDerivedSetTrap", derived_set_trap); |
1578 INSTALL_NATIVE(JSFunction, "$proxyEnumerate", proxy_enumerate); | 1578 INSTALL_NATIVE(JSFunction, "$proxyEnumerate", proxy_enumerate); |
1579 } | 1579 } |
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2948 return from + sizeof(NestingCounterType); | 2948 return from + sizeof(NestingCounterType); |
2949 } | 2949 } |
2950 | 2950 |
2951 | 2951 |
2952 // Called when the top-level V8 mutex is destroyed. | 2952 // Called when the top-level V8 mutex is destroyed. |
2953 void Bootstrapper::FreeThreadResources() { | 2953 void Bootstrapper::FreeThreadResources() { |
2954 DCHECK(!IsActive()); | 2954 DCHECK(!IsActive()); |
2955 } | 2955 } |
2956 | 2956 |
2957 } } // namespace v8::internal | 2957 } } // namespace v8::internal |
OLD | NEW |