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/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/extensions/externalize-string-extension.h" | 9 #include "src/extensions/externalize-string-extension.h" |
10 #include "src/extensions/free-buffer-extension.h" | 10 #include "src/extensions/free-buffer-extension.h" |
(...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1531 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 1531 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", |
1532 to_complete_property_descriptor); | 1532 to_complete_property_descriptor); |
1533 | 1533 |
1534 INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); | 1534 INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); |
1535 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); | 1535 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); |
1536 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); | 1536 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); |
1537 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); | 1537 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); |
1538 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); | 1538 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); |
1539 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); | 1539 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); |
1540 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); | 1540 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); |
| 1541 INSTALL_NATIVE(JSFunction, "PromiseHasRejectHandler", |
| 1542 promise_has_reject_handler); |
1541 | 1543 |
1542 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); | 1544 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); |
1543 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); | 1545 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); |
1544 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", | 1546 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", |
1545 observers_begin_perform_splice); | 1547 observers_begin_perform_splice); |
1546 INSTALL_NATIVE(JSFunction, "EndPerformSplice", | 1548 INSTALL_NATIVE(JSFunction, "EndPerformSplice", |
1547 observers_end_perform_splice); | 1549 observers_end_perform_splice); |
1548 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", | 1550 INSTALL_NATIVE(JSFunction, "NativeObjectObserve", |
1549 native_object_observe); | 1551 native_object_observe); |
1550 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", | 1552 INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier", |
(...skipping 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2733 return from + sizeof(NestingCounterType); | 2735 return from + sizeof(NestingCounterType); |
2734 } | 2736 } |
2735 | 2737 |
2736 | 2738 |
2737 // Called when the top-level V8 mutex is destroyed. | 2739 // Called when the top-level V8 mutex is destroyed. |
2738 void Bootstrapper::FreeThreadResources() { | 2740 void Bootstrapper::FreeThreadResources() { |
2739 DCHECK(!IsActive()); | 2741 DCHECK(!IsActive()); |
2740 } | 2742 } |
2741 | 2743 |
2742 } } // namespace v8::internal | 2744 } } // namespace v8::internal |
OLD | NEW |