| 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 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1547 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 1547 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); |
| 1548 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); | 1548 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); |
| 1549 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); | 1549 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); |
| 1550 INSTALL_NATIVE(JSFunction, "ToLength", to_length_fun); | 1550 INSTALL_NATIVE(JSFunction, "ToLength", to_length_fun); |
| 1551 | 1551 |
| 1552 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 1552 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); |
| 1553 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1553 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); |
| 1554 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 1554 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", |
| 1555 to_complete_property_descriptor); | 1555 to_complete_property_descriptor); |
| 1556 | 1556 |
| 1557 INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); | 1557 INSTALL_NATIVE(Symbol, "promiseStatus", promise_status); |
| 1558 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); | 1558 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); |
| 1559 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); | 1559 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); |
| 1560 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); | 1560 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); |
| 1561 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); | 1561 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); |
| 1562 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); | 1562 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); |
| 1563 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); | 1563 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); |
| 1564 | 1564 |
| 1565 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); | 1565 INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); |
| 1566 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); | 1566 INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice); |
| 1567 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", | 1567 INSTALL_NATIVE(JSFunction, "BeginPerformSplice", |
| (...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2924 return from + sizeof(NestingCounterType); | 2924 return from + sizeof(NestingCounterType); |
| 2925 } | 2925 } |
| 2926 | 2926 |
| 2927 | 2927 |
| 2928 // Called when the top-level V8 mutex is destroyed. | 2928 // Called when the top-level V8 mutex is destroyed. |
| 2929 void Bootstrapper::FreeThreadResources() { | 2929 void Bootstrapper::FreeThreadResources() { |
| 2930 DCHECK(!IsActive()); | 2930 DCHECK(!IsActive()); |
| 2931 } | 2931 } |
| 2932 | 2932 |
| 2933 } } // namespace v8::internal | 2933 } } // namespace v8::internal |
| OLD | NEW |