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/api-natives.h" | 8 #include "src/api-natives.h" |
9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/extensions/externalize-string-extension.h" | 10 #include "src/extensions/externalize-string-extension.h" |
(...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2206 | 2206 |
2207 | 2207 |
2208 bool Genesis::InstallExperimentalNatives() { | 2208 bool Genesis::InstallExperimentalNatives() { |
2209 static const char* harmony_arrays_natives[] = { | 2209 static const char* harmony_arrays_natives[] = { |
2210 "native harmony-array.js", "native harmony-typedarray.js", NULL}; | 2210 "native harmony-array.js", "native harmony-typedarray.js", NULL}; |
2211 static const char* harmony_array_includes_natives[] = { | 2211 static const char* harmony_array_includes_natives[] = { |
2212 "native harmony-array-includes.js", NULL}; | 2212 "native harmony-array-includes.js", NULL}; |
2213 static const char* harmony_proxies_natives[] = {"native proxy.js", NULL}; | 2213 static const char* harmony_proxies_natives[] = {"native proxy.js", NULL}; |
2214 static const char* harmony_strings_natives[] = {"native harmony-string.js", | 2214 static const char* harmony_strings_natives[] = {"native harmony-string.js", |
2215 NULL}; | 2215 NULL}; |
2216 static const char* harmony_classes_natives[] = {"native harmony-classes.js", | 2216 static const char* harmony_classes_natives[] = {NULL}; |
2217 NULL}; | |
2218 static const char* harmony_modules_natives[] = {NULL}; | 2217 static const char* harmony_modules_natives[] = {NULL}; |
2219 static const char* harmony_scoping_natives[] = {NULL}; | 2218 static const char* harmony_scoping_natives[] = {NULL}; |
2220 static const char* harmony_object_literals_natives[] = {NULL}; | 2219 static const char* harmony_object_literals_natives[] = {NULL}; |
2221 static const char* harmony_regexps_natives[] = { | 2220 static const char* harmony_regexps_natives[] = { |
2222 "native harmony-regexp.js", NULL}; | 2221 "native harmony-regexp.js", NULL}; |
2223 static const char* harmony_arrow_functions_natives[] = {NULL}; | 2222 static const char* harmony_arrow_functions_natives[] = {NULL}; |
2224 static const char* harmony_numeric_literals_natives[] = {NULL}; | 2223 static const char* harmony_numeric_literals_natives[] = {NULL}; |
2225 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", | 2224 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", |
2226 NULL}; | 2225 NULL}; |
2227 static const char* harmony_templates_natives[] = { | 2226 static const char* harmony_templates_natives[] = { |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2860 return from + sizeof(NestingCounterType); | 2859 return from + sizeof(NestingCounterType); |
2861 } | 2860 } |
2862 | 2861 |
2863 | 2862 |
2864 // Called when the top-level V8 mutex is destroyed. | 2863 // Called when the top-level V8 mutex is destroyed. |
2865 void Bootstrapper::FreeThreadResources() { | 2864 void Bootstrapper::FreeThreadResources() { |
2866 DCHECK(!IsActive()); | 2865 DCHECK(!IsActive()); |
2867 } | 2866 } |
2868 | 2867 |
2869 } } // namespace v8::internal | 2868 } } // namespace v8::internal |
OLD | NEW |