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 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 INSTALL_NATIVE(JSFunction, "$toUint32", to_uint32_fun); | 1590 INSTALL_NATIVE(JSFunction, "$toUint32", to_uint32_fun); |
1591 INSTALL_NATIVE(JSFunction, "$toInt32", to_int32_fun); | 1591 INSTALL_NATIVE(JSFunction, "$toInt32", to_int32_fun); |
1592 INSTALL_NATIVE(JSFunction, "$toLength", to_length_fun); | 1592 INSTALL_NATIVE(JSFunction, "$toLength", to_length_fun); |
1593 | 1593 |
1594 INSTALL_NATIVE(JSFunction, "$globalEval", global_eval_fun); | 1594 INSTALL_NATIVE(JSFunction, "$globalEval", global_eval_fun); |
1595 INSTALL_NATIVE(JSFunction, "$getStackTraceLine", get_stack_trace_line_fun); | 1595 INSTALL_NATIVE(JSFunction, "$getStackTraceLine", get_stack_trace_line_fun); |
1596 INSTALL_NATIVE(JSFunction, "$toCompletePropertyDescriptor", | 1596 INSTALL_NATIVE(JSFunction, "$toCompletePropertyDescriptor", |
1597 to_complete_property_descriptor); | 1597 to_complete_property_descriptor); |
1598 | 1598 |
1599 INSTALL_NATIVE(Symbol, "$promiseStatus", promise_status); | 1599 INSTALL_NATIVE(Symbol, "$promiseStatus", promise_status); |
| 1600 INSTALL_NATIVE(Symbol, "$promiseValue", promise_value); |
1600 INSTALL_NATIVE(JSFunction, "$promiseCreate", promise_create); | 1601 INSTALL_NATIVE(JSFunction, "$promiseCreate", promise_create); |
1601 INSTALL_NATIVE(JSFunction, "$promiseResolve", promise_resolve); | 1602 INSTALL_NATIVE(JSFunction, "$promiseResolve", promise_resolve); |
1602 INSTALL_NATIVE(JSFunction, "$promiseReject", promise_reject); | 1603 INSTALL_NATIVE(JSFunction, "$promiseReject", promise_reject); |
1603 INSTALL_NATIVE(JSFunction, "$promiseChain", promise_chain); | 1604 INSTALL_NATIVE(JSFunction, "$promiseChain", promise_chain); |
1604 INSTALL_NATIVE(JSFunction, "$promiseCatch", promise_catch); | 1605 INSTALL_NATIVE(JSFunction, "$promiseCatch", promise_catch); |
1605 INSTALL_NATIVE(JSFunction, "$promiseThen", promise_then); | 1606 INSTALL_NATIVE(JSFunction, "$promiseThen", promise_then); |
1606 | 1607 |
1607 INSTALL_NATIVE(JSFunction, "$observeNotifyChange", observers_notify_change); | 1608 INSTALL_NATIVE(JSFunction, "$observeNotifyChange", observers_notify_change); |
1608 INSTALL_NATIVE(JSFunction, "$observeEnqueueSpliceRecord", | 1609 INSTALL_NATIVE(JSFunction, "$observeEnqueueSpliceRecord", |
1609 observers_enqueue_splice); | 1610 observers_enqueue_splice); |
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2996 return from + sizeof(NestingCounterType); | 2997 return from + sizeof(NestingCounterType); |
2997 } | 2998 } |
2998 | 2999 |
2999 | 3000 |
3000 // Called when the top-level V8 mutex is destroyed. | 3001 // Called when the top-level V8 mutex is destroyed. |
3001 void Bootstrapper::FreeThreadResources() { | 3002 void Bootstrapper::FreeThreadResources() { |
3002 DCHECK(!IsActive()); | 3003 DCHECK(!IsActive()); |
3003 } | 3004 } |
3004 | 3005 |
3005 } } // namespace v8::internal | 3006 } } // namespace v8::internal |
OLD | NEW |