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 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1747 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); | 1747 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); |
1748 INSTALL_NATIVE(JSFunction, "NoSideEffectToString", | 1748 INSTALL_NATIVE(JSFunction, "NoSideEffectToString", |
1749 no_side_effect_to_string_fun); | 1749 no_side_effect_to_string_fun); |
1750 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 1750 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); |
1751 INSTALL_NATIVE(JSFunction, "ToLength", to_length_fun); | 1751 INSTALL_NATIVE(JSFunction, "ToLength", to_length_fun); |
1752 | 1752 |
1753 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 1753 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); |
1754 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1754 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); |
1755 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 1755 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", |
1756 to_complete_property_descriptor); | 1756 to_complete_property_descriptor); |
| 1757 INSTALL_NATIVE(JSFunction, "ObjectDefineOwnProperty", |
| 1758 object_define_own_property); |
| 1759 INSTALL_NATIVE(JSFunction, "ObjectGetOwnPropertyDescriptor", |
| 1760 object_get_own_property_descriptor); |
| 1761 INSTALL_NATIVE(JSFunction, "MessageGetLineNumber", message_get_line_number); |
| 1762 INSTALL_NATIVE(JSFunction, "MessageGetColumnNumber", |
| 1763 message_get_column_number); |
| 1764 INSTALL_NATIVE(JSFunction, "MessageGetSourceLine", message_get_source_line); |
| 1765 INSTALL_NATIVE(JSObject, "StackOverflowBoilerplate", |
| 1766 stack_overflow_boilerplate); |
1757 INSTALL_NATIVE(JSFunction, "JsonSerializeAdapter", json_serialize_adapter); | 1767 INSTALL_NATIVE(JSFunction, "JsonSerializeAdapter", json_serialize_adapter); |
1758 | 1768 |
1759 INSTALL_NATIVE(JSFunction, "Error", error_function); | 1769 INSTALL_NATIVE(JSFunction, "Error", error_function); |
1760 INSTALL_NATIVE(JSFunction, "EvalError", eval_error_function); | 1770 INSTALL_NATIVE(JSFunction, "EvalError", eval_error_function); |
1761 INSTALL_NATIVE(JSFunction, "RangeError", range_error_function); | 1771 INSTALL_NATIVE(JSFunction, "RangeError", range_error_function); |
1762 INSTALL_NATIVE(JSFunction, "ReferenceError", reference_error_function); | 1772 INSTALL_NATIVE(JSFunction, "ReferenceError", reference_error_function); |
1763 INSTALL_NATIVE(JSFunction, "SyntaxError", syntax_error_function); | 1773 INSTALL_NATIVE(JSFunction, "SyntaxError", syntax_error_function); |
1764 INSTALL_NATIVE(JSFunction, "TypeError", type_error_function); | 1774 INSTALL_NATIVE(JSFunction, "TypeError", type_error_function); |
1765 INSTALL_NATIVE(JSFunction, "URIError", uri_error_function); | 1775 INSTALL_NATIVE(JSFunction, "URIError", uri_error_function); |
1766 INSTALL_NATIVE(JSFunction, "MakeError", make_error_function); | 1776 INSTALL_NATIVE(JSFunction, "MakeError", make_error_function); |
(...skipping 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3269 } | 3279 } |
3270 | 3280 |
3271 | 3281 |
3272 // Called when the top-level V8 mutex is destroyed. | 3282 // Called when the top-level V8 mutex is destroyed. |
3273 void Bootstrapper::FreeThreadResources() { | 3283 void Bootstrapper::FreeThreadResources() { |
3274 DCHECK(!IsActive()); | 3284 DCHECK(!IsActive()); |
3275 } | 3285 } |
3276 | 3286 |
3277 } // namespace internal | 3287 } // namespace internal |
3278 } // namespace v8 | 3288 } // namespace v8 |
OLD | NEW |