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 1745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 to_complete_property_descriptor); | 1756 to_complete_property_descriptor); |
1757 INSTALL_NATIVE(JSFunction, "JsonSerializeAdapter", json_serialize_adapter); | 1757 INSTALL_NATIVE(JSFunction, "JsonSerializeAdapter", json_serialize_adapter); |
1758 | 1758 |
1759 INSTALL_NATIVE(JSFunction, "Error", error_function); | 1759 INSTALL_NATIVE(JSFunction, "Error", error_function); |
1760 INSTALL_NATIVE(JSFunction, "EvalError", eval_error_function); | 1760 INSTALL_NATIVE(JSFunction, "EvalError", eval_error_function); |
1761 INSTALL_NATIVE(JSFunction, "RangeError", range_error_function); | 1761 INSTALL_NATIVE(JSFunction, "RangeError", range_error_function); |
1762 INSTALL_NATIVE(JSFunction, "ReferenceError", reference_error_function); | 1762 INSTALL_NATIVE(JSFunction, "ReferenceError", reference_error_function); |
1763 INSTALL_NATIVE(JSFunction, "SyntaxError", syntax_error_function); | 1763 INSTALL_NATIVE(JSFunction, "SyntaxError", syntax_error_function); |
1764 INSTALL_NATIVE(JSFunction, "TypeError", type_error_function); | 1764 INSTALL_NATIVE(JSFunction, "TypeError", type_error_function); |
1765 INSTALL_NATIVE(JSFunction, "URIError", uri_error_function); | 1765 INSTALL_NATIVE(JSFunction, "URIError", uri_error_function); |
| 1766 INSTALL_NATIVE(JSFunction, "MakeError", make_error_function); |
1766 | 1767 |
1767 INSTALL_NATIVE(Symbol, "promiseStatus", promise_status); | 1768 INSTALL_NATIVE(Symbol, "promiseStatus", promise_status); |
1768 INSTALL_NATIVE(Symbol, "promiseValue", promise_value); | 1769 INSTALL_NATIVE(Symbol, "promiseValue", promise_value); |
1769 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); | 1770 INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create); |
1770 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); | 1771 INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve); |
1771 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); | 1772 INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject); |
1772 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); | 1773 INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain); |
1773 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); | 1774 INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch); |
1774 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); | 1775 INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then); |
1775 INSTALL_NATIVE(JSFunction, "PromiseHasUserDefinedRejectHandler", | 1776 INSTALL_NATIVE(JSFunction, "PromiseHasUserDefinedRejectHandler", |
(...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3262 } | 3263 } |
3263 | 3264 |
3264 | 3265 |
3265 // Called when the top-level V8 mutex is destroyed. | 3266 // Called when the top-level V8 mutex is destroyed. |
3266 void Bootstrapper::FreeThreadResources() { | 3267 void Bootstrapper::FreeThreadResources() { |
3267 DCHECK(!IsActive()); | 3268 DCHECK(!IsActive()); |
3268 } | 3269 } |
3269 | 3270 |
3270 } // namespace internal | 3271 } // namespace internal |
3271 } // namespace v8 | 3272 } // namespace v8 |
OLD | NEW |