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/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/extensions/externalize-string-extension.h" | 9 #include "src/extensions/externalize-string-extension.h" |
10 #include "src/extensions/free-buffer-extension.h" | 10 #include "src/extensions/free-buffer-extension.h" |
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1518 HandleScope scope(isolate()); | 1518 HandleScope scope(isolate()); |
1519 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun); | 1519 INSTALL_NATIVE(JSFunction, "CreateDate", create_date_fun); |
1520 | 1520 |
1521 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun); | 1521 INSTALL_NATIVE(JSFunction, "ToNumber", to_number_fun); |
1522 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); | 1522 INSTALL_NATIVE(JSFunction, "ToString", to_string_fun); |
1523 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); | 1523 INSTALL_NATIVE(JSFunction, "ToDetailString", to_detail_string_fun); |
1524 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); | 1524 INSTALL_NATIVE(JSFunction, "ToObject", to_object_fun); |
1525 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); | 1525 INSTALL_NATIVE(JSFunction, "ToInteger", to_integer_fun); |
1526 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); | 1526 INSTALL_NATIVE(JSFunction, "ToUint32", to_uint32_fun); |
1527 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); | 1527 INSTALL_NATIVE(JSFunction, "ToInt32", to_int32_fun); |
| 1528 INSTALL_NATIVE(JSFunction, "ToLength", to_length_fun); |
1528 | 1529 |
1529 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); | 1530 INSTALL_NATIVE(JSFunction, "GlobalEval", global_eval_fun); |
1530 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); | 1531 INSTALL_NATIVE(JSFunction, "Instantiate", instantiate_fun); |
1531 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", | 1532 INSTALL_NATIVE(JSFunction, "ConfigureTemplateInstance", |
1532 configure_instance_fun); | 1533 configure_instance_fun); |
1533 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); | 1534 INSTALL_NATIVE(JSFunction, "GetStackTraceLine", get_stack_trace_line_fun); |
1534 INSTALL_NATIVE(JSObject, "functionCache", function_cache); | 1535 INSTALL_NATIVE(JSObject, "functionCache", function_cache); |
1535 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", | 1536 INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor", |
1536 to_complete_property_descriptor); | 1537 to_complete_property_descriptor); |
1537 | 1538 |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2823 return from + sizeof(NestingCounterType); | 2824 return from + sizeof(NestingCounterType); |
2824 } | 2825 } |
2825 | 2826 |
2826 | 2827 |
2827 // Called when the top-level V8 mutex is destroyed. | 2828 // Called when the top-level V8 mutex is destroyed. |
2828 void Bootstrapper::FreeThreadResources() { | 2829 void Bootstrapper::FreeThreadResources() { |
2829 DCHECK(!IsActive()); | 2830 DCHECK(!IsActive()); |
2830 } | 2831 } |
2831 | 2832 |
2832 } } // namespace v8::internal | 2833 } } // namespace v8::internal |
OLD | NEW |