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 2094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 } | 2105 } |
2106 | 2106 |
2107 | 2107 |
2108 bool Genesis::InstallExperimentalNatives() { | 2108 bool Genesis::InstallExperimentalNatives() { |
2109 for (int i = ExperimentalNatives::GetDebuggerCount(); | 2109 for (int i = ExperimentalNatives::GetDebuggerCount(); |
2110 i < ExperimentalNatives::GetBuiltinsCount(); | 2110 i < ExperimentalNatives::GetBuiltinsCount(); |
2111 i++) { | 2111 i++) { |
2112 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") | 2112 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") |
2113 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") | 2113 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") |
2114 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") | 2114 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") |
| 2115 INSTALL_EXPERIMENTAL_NATIVE(i, typedarrays, "harmony-typedarray.js") |
2115 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") | 2116 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") |
2116 } | 2117 } |
2117 | 2118 |
2118 InstallExperimentalNativeFunctions(); | 2119 InstallExperimentalNativeFunctions(); |
2119 return true; | 2120 return true; |
2120 } | 2121 } |
2121 | 2122 |
2122 | 2123 |
2123 static void InstallBuiltinFunctionId(Handle<JSObject> holder, | 2124 static void InstallBuiltinFunctionId(Handle<JSObject> holder, |
2124 const char* function_name, | 2125 const char* function_name, |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 return from + sizeof(NestingCounterType); | 2736 return from + sizeof(NestingCounterType); |
2736 } | 2737 } |
2737 | 2738 |
2738 | 2739 |
2739 // Called when the top-level V8 mutex is destroyed. | 2740 // Called when the top-level V8 mutex is destroyed. |
2740 void Bootstrapper::FreeThreadResources() { | 2741 void Bootstrapper::FreeThreadResources() { |
2741 DCHECK(!IsActive()); | 2742 DCHECK(!IsActive()); |
2742 } | 2743 } |
2743 | 2744 |
2744 } } // namespace v8::internal | 2745 } } // namespace v8::internal |
OLD | NEW |