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 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2084 } | 2084 } |
2085 | 2085 |
2086 | 2086 |
2087 bool Genesis::InstallExperimentalNatives() { | 2087 bool Genesis::InstallExperimentalNatives() { |
2088 for (int i = ExperimentalNatives::GetDebuggerCount(); | 2088 for (int i = ExperimentalNatives::GetDebuggerCount(); |
2089 i < ExperimentalNatives::GetBuiltinsCount(); | 2089 i < ExperimentalNatives::GetBuiltinsCount(); |
2090 i++) { | 2090 i++) { |
2091 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") | 2091 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") |
2092 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") | 2092 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") |
2093 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") | 2093 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") |
| 2094 INSTALL_EXPERIMENTAL_NATIVE(i, typedarrays, "harmony-typedarray.js") |
2094 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") | 2095 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") |
2095 } | 2096 } |
2096 | 2097 |
2097 InstallExperimentalNativeFunctions(); | 2098 InstallExperimentalNativeFunctions(); |
2098 return true; | 2099 return true; |
2099 } | 2100 } |
2100 | 2101 |
2101 | 2102 |
2102 static void InstallBuiltinFunctionId(Handle<JSObject> holder, | 2103 static void InstallBuiltinFunctionId(Handle<JSObject> holder, |
2103 const char* function_name, | 2104 const char* function_name, |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2713 return from + sizeof(NestingCounterType); | 2714 return from + sizeof(NestingCounterType); |
2714 } | 2715 } |
2715 | 2716 |
2716 | 2717 |
2717 // Called when the top-level V8 mutex is destroyed. | 2718 // Called when the top-level V8 mutex is destroyed. |
2718 void Bootstrapper::FreeThreadResources() { | 2719 void Bootstrapper::FreeThreadResources() { |
2719 DCHECK(!IsActive()); | 2720 DCHECK(!IsActive()); |
2720 } | 2721 } |
2721 | 2722 |
2722 } } // namespace v8::internal | 2723 } } // namespace v8::internal |
OLD | NEW |