| 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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2056 | 2056 |
| 2057 | 2057 |
| 2058 bool Genesis::InstallExperimentalNatives() { | 2058 bool Genesis::InstallExperimentalNatives() { |
| 2059 for (int i = ExperimentalNatives::GetDebuggerCount(); | 2059 for (int i = ExperimentalNatives::GetDebuggerCount(); |
| 2060 i < ExperimentalNatives::GetBuiltinsCount(); | 2060 i < ExperimentalNatives::GetBuiltinsCount(); |
| 2061 i++) { | 2061 i++) { |
| 2062 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") | 2062 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") |
| 2063 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") | 2063 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") |
| 2064 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") | 2064 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") |
| 2065 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") | 2065 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") |
| 2066 INSTALL_EXPERIMENTAL_NATIVE(i, classes, "harmony-classes.js") |
| 2066 } | 2067 } |
| 2067 | 2068 |
| 2068 InstallExperimentalNativeFunctions(); | 2069 InstallExperimentalNativeFunctions(); |
| 2069 return true; | 2070 return true; |
| 2070 } | 2071 } |
| 2071 | 2072 |
| 2072 | 2073 |
| 2073 static void InstallBuiltinFunctionId(Handle<JSObject> holder, | 2074 static void InstallBuiltinFunctionId(Handle<JSObject> holder, |
| 2074 const char* function_name, | 2075 const char* function_name, |
| 2075 BuiltinFunctionId id) { | 2076 BuiltinFunctionId id) { |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2691 return from + sizeof(NestingCounterType); | 2692 return from + sizeof(NestingCounterType); |
| 2692 } | 2693 } |
| 2693 | 2694 |
| 2694 | 2695 |
| 2695 // Called when the top-level V8 mutex is destroyed. | 2696 // Called when the top-level V8 mutex is destroyed. |
| 2696 void Bootstrapper::FreeThreadResources() { | 2697 void Bootstrapper::FreeThreadResources() { |
| 2697 DCHECK(!IsActive()); | 2698 DCHECK(!IsActive()); |
| 2698 } | 2699 } |
| 2699 | 2700 |
| 2700 } } // namespace v8::internal | 2701 } } // namespace v8::internal |
| OLD | NEW |