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/isolate-inl.h" | 8 #include "src/isolate-inl.h" |
9 #include "src/natives.h" | 9 #include "src/natives.h" |
10 #include "src/snapshot.h" | 10 #include "src/snapshot.h" |
(...skipping 2034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2045 bool Genesis::InstallExperimentalNatives() { | 2045 bool Genesis::InstallExperimentalNatives() { |
2046 for (int i = ExperimentalNatives::GetDebuggerCount(); | 2046 for (int i = ExperimentalNatives::GetDebuggerCount(); |
2047 i < ExperimentalNatives::GetBuiltinsCount(); | 2047 i < ExperimentalNatives::GetBuiltinsCount(); |
2048 i++) { | 2048 i++) { |
2049 INSTALL_EXPERIMENTAL_NATIVE(i, symbols, "symbol.js") | 2049 INSTALL_EXPERIMENTAL_NATIVE(i, symbols, "symbol.js") |
2050 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") | 2050 INSTALL_EXPERIMENTAL_NATIVE(i, proxies, "proxy.js") |
2051 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection.js") | 2051 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection.js") |
2052 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection-iterator.js") | 2052 INSTALL_EXPERIMENTAL_NATIVE(i, collections, "collection-iterator.js") |
2053 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") | 2053 INSTALL_EXPERIMENTAL_NATIVE(i, generators, "generator.js") |
2054 INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "array-iterator.js") | 2054 INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "array-iterator.js") |
| 2055 INSTALL_EXPERIMENTAL_NATIVE(i, iteration, "string-iterator.js") |
2055 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") | 2056 INSTALL_EXPERIMENTAL_NATIVE(i, strings, "harmony-string.js") |
2056 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") | 2057 INSTALL_EXPERIMENTAL_NATIVE(i, arrays, "harmony-array.js") |
2057 INSTALL_EXPERIMENTAL_NATIVE(i, maths, "harmony-math.js") | 2058 INSTALL_EXPERIMENTAL_NATIVE(i, maths, "harmony-math.js") |
2058 } | 2059 } |
2059 | 2060 |
2060 InstallExperimentalNativeFunctions(); | 2061 InstallExperimentalNativeFunctions(); |
2061 InstallExperimentalBuiltinFunctionIds(); | 2062 InstallExperimentalBuiltinFunctionIds(); |
2062 return true; | 2063 return true; |
2063 } | 2064 } |
2064 | 2065 |
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2742 return from + sizeof(NestingCounterType); | 2743 return from + sizeof(NestingCounterType); |
2743 } | 2744 } |
2744 | 2745 |
2745 | 2746 |
2746 // Called when the top-level V8 mutex is destroyed. | 2747 // Called when the top-level V8 mutex is destroyed. |
2747 void Bootstrapper::FreeThreadResources() { | 2748 void Bootstrapper::FreeThreadResources() { |
2748 ASSERT(!IsActive()); | 2749 ASSERT(!IsActive()); |
2749 } | 2750 } |
2750 | 2751 |
2751 } } // namespace v8::internal | 2752 } } // namespace v8::internal |
OLD | NEW |