| 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 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1580 INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1580 INSTALL_NATIVE(JSObject, "functionCache", function_cache); |
| 1581 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 1581 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", |
| 1582 to_complete_property_descriptor); | 1582 to_complete_property_descriptor); |
| 1583 | 1583 |
| 1584 INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); | 1584 INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); |
| 1585 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); | 1585 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); |
| 1586 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); | 1586 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); |
| 1587 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); | 1587 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); |
| 1588 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); | 1588 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); |
| 1589 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); | 1589 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); |
| 1590 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); |
| 1590 | 1591 |
| 1591 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); | 1592 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); |
| 1592 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); | 1593 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); |
| 1593 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", | 1594 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", |
| 1594 observers_begin_perform_splice); | 1595 observers_begin_perform_splice); |
| 1595 INSTALL_NATIVE(JSFunction, "EndPerformSplice", | 1596 INSTALL_NATIVE(JSFunction, "EndPerformSplice", |
| 1596 observers_end_perform_splice); | 1597 observers_end_perform_splice); |
| 1597 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", | 1598 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", |
| 1598 native_object_observe); | 1599 native_object_observe); |
| 1599 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", | 1600 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2701 return from + sizeof(NestingCounterType); | 2702 return from + sizeof(NestingCounterType); |
| 2702 } | 2703 } |
| 2703 | 2704 |
| 2704 | 2705 |
| 2705 // Called when the top-level V8 mutex is destroyed. | 2706 // Called when the top-level V8 mutex is destroyed. |
| 2706 void Bootstrapper::FreeThreadResources() { | 2707 void Bootstrapper::FreeThreadResources() { |
| 2707 ASSERT(!IsActive()); | 2708 ASSERT(!IsActive()); |
| 2708 } | 2709 } |
| 2709 | 2710 |
| 2710 } } // namespace v8::internal | 2711 } } // namespace v8::internal |
| OLD | NEW |