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/base/utils/random-number-generator.h" | 9 #include "src/base/utils/random-number-generator.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1605 INSTALL_NATIVE(JSFunction, "$toUint32", to_uint32_fun); | 1605 INSTALL_NATIVE(JSFunction, "$toUint32", to_uint32_fun); |
1606 INSTALL_NATIVE(JSFunction, "$toInt32", to_int32_fun); | 1606 INSTALL_NATIVE(JSFunction, "$toInt32", to_int32_fun); |
1607 INSTALL_NATIVE(JSFunction, "$toLength", to_length_fun); | 1607 INSTALL_NATIVE(JSFunction, "$toLength", to_length_fun); |
1608 | 1608 |
1609 INSTALL_NATIVE(JSFunction, "$globalEval", global_eval_fun); | 1609 INSTALL_NATIVE(JSFunction, "$globalEval", global_eval_fun); |
1610 INSTALL_NATIVE(JSFunction, "$getStackTraceLine", get_stack_trace_line_fun); | 1610 INSTALL_NATIVE(JSFunction, "$getStackTraceLine", get_stack_trace_line_fun); |
1611 INSTALL_NATIVE(JSFunction, "$toCompletePropertyDescriptor", | 1611 INSTALL_NATIVE(JSFunction, "$toCompletePropertyDescriptor", |
1612 to_complete_property_descriptor); | 1612 to_complete_property_descriptor); |
1613 | 1613 |
1614 INSTALL_NATIVE(Symbol, "$promiseStatus", promise_status); | 1614 INSTALL_NATIVE(Symbol, "$promiseStatus", promise_status); |
| 1615 INSTALL_NATIVE(Symbol, "$promiseValue", promise_value); |
1615 INSTALL_NATIVE(JSFunction, "$promiseCreate", promise_create); | 1616 INSTALL_NATIVE(JSFunction, "$promiseCreate", promise_create); |
1616 INSTALL_NATIVE(JSFunction, "$promiseResolve", promise_resolve); | 1617 INSTALL_NATIVE(JSFunction, "$promiseResolve", promise_resolve); |
1617 INSTALL_NATIVE(JSFunction, "$promiseReject", promise_reject); | 1618 INSTALL_NATIVE(JSFunction, "$promiseReject", promise_reject); |
1618 INSTALL_NATIVE(JSFunction, "$promiseChain", promise_chain); | 1619 INSTALL_NATIVE(JSFunction, "$promiseChain", promise_chain); |
1619 INSTALL_NATIVE(JSFunction, "$promiseCatch", promise_catch); | 1620 INSTALL_NATIVE(JSFunction, "$promiseCatch", promise_catch); |
1620 INSTALL_NATIVE(JSFunction, "$promiseThen", promise_then); | 1621 INSTALL_NATIVE(JSFunction, "$promiseThen", promise_then); |
1621 | 1622 |
1622 INSTALL_NATIVE(JSFunction, "$observeNotifyChange", observers_notify_change); | 1623 INSTALL_NATIVE(JSFunction, "$observeNotifyChange", observers_notify_change); |
1623 INSTALL_NATIVE(JSFunction, "$observeEnqueueSpliceRecord", | 1624 INSTALL_NATIVE(JSFunction, "$observeEnqueueSpliceRecord", |
1624 observers_enqueue_splice); | 1625 observers_enqueue_splice); |
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3021 return from + sizeof(NestingCounterType); | 3022 return from + sizeof(NestingCounterType); |
3022 } | 3023 } |
3023 | 3024 |
3024 | 3025 |
3025 // Called when the top-level V8 mutex is destroyed. | 3026 // Called when the top-level V8 mutex is destroyed. |
3026 void Bootstrapper::FreeThreadResources() { | 3027 void Bootstrapper::FreeThreadResources() { |
3027 DCHECK(!IsActive()); | 3028 DCHECK(!IsActive()); |
3028 } | 3029 } |
3029 | 3030 |
3030 } } // namespace v8::internal | 3031 } } // namespace v8::internal |
OLD | NEW |