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 "bootstrapper.h" | 5 #include "bootstrapper.h" |
6 | 6 |
7 #include "accessors.h" | 7 #include "accessors.h" |
8 #include "isolate-inl.h" | 8 #include "isolate-inl.h" |
9 #include "natives.h" | 9 #include "natives.h" |
10 #include "snapshot.h" | 10 #include "snapshot.h" |
(...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", | 1543 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", |
1544 native_object_observe); | 1544 native_object_observe); |
1545 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", | 1545 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", |
1546 native_object_get_notifier); | 1546 native_object_get_notifier); |
1547 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange", | 1547 INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange", |
1548 native_object_notifier_perform_change); | 1548 native_object_notifier_perform_change); |
1549 } | 1549 } |
1550 | 1550 |
1551 | 1551 |
1552 void Genesis::InstallExperimentalNativeFunctions() { | 1552 void Genesis::InstallExperimentalNativeFunctions() { |
1553 INSTALL_NATIVE(JSFunction, "RunMicrotasksJS", run_microtasks); | |
1554 INSTALL_NATIVE(JSFunction, "EnqueueMicrotask", enqueue_microtask); | |
1555 | |
1556 if (FLAG_harmony_proxies) { | 1553 if (FLAG_harmony_proxies) { |
1557 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); | 1554 INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
1558 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); | 1555 INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
1559 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); | 1556 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
1560 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); | 1557 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
1561 } | 1558 } |
1562 } | 1559 } |
1563 | 1560 |
1564 #undef INSTALL_NATIVE | 1561 #undef INSTALL_NATIVE |
1565 | 1562 |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2655 return from + sizeof(NestingCounterType); | 2652 return from + sizeof(NestingCounterType); |
2656 } | 2653 } |
2657 | 2654 |
2658 | 2655 |
2659 // Called when the top-level V8 mutex is destroyed. | 2656 // Called when the top-level V8 mutex is destroyed. |
2660 void Bootstrapper::FreeThreadResources() { | 2657 void Bootstrapper::FreeThreadResources() { |
2661 ASSERT(!IsActive()); | 2658 ASSERT(!IsActive()); |
2662 } | 2659 } |
2663 | 2660 |
2664 } } // namespace v8::internal | 2661 } } // namespace v8::internal |
OLD | NEW |