Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Side by Side Diff: src/bootstrapper.cc

Issue 1007783002: Remove --harmony-scoping flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CR feedback Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/contexts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1644 const size_t num_elements = 2; 1644 const size_t num_elements = 2;
1645 SetBuiltinTypedArray<double>(isolate(), builtins, kExternalFloat64Array, 1645 SetBuiltinTypedArray<double>(isolate(), builtins, kExternalFloat64Array,
1646 NULL, num_elements, "rempio2result"); 1646 NULL, num_elements, "rempio2result");
1647 } 1647 }
1648 } 1648 }
1649 1649
1650 1650
1651 #define EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(id) \ 1651 #define EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(id) \
1652 void Genesis::InstallNativeFunctions_##id() {} 1652 void Genesis::InstallNativeFunctions_##id() {}
1653 1653
1654 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_scoping)
1655 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_modules) 1654 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_modules)
1656 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_strings) 1655 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_strings)
1657 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrays) 1656 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrays)
1658 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_array_includes) 1657 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_array_includes)
1659 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_classes) 1658 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_classes)
1660 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object_literals) 1659 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object_literals)
1661 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_regexps) 1660 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_regexps)
1662 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrow_functions) 1661 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrow_functions)
1663 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_numeric_literals) 1662 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_numeric_literals)
1664 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_tostring) 1663 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_tostring)
(...skipping 12 matching lines...) Expand all
1677 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); 1676 INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
1678 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); 1677 INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
1679 } 1678 }
1680 } 1679 }
1681 1680
1682 #undef INSTALL_NATIVE 1681 #undef INSTALL_NATIVE
1683 1682
1684 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 1683 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
1685 void Genesis::InitializeGlobal_##id() {} 1684 void Genesis::InitializeGlobal_##id() {}
1686 1685
1687 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_scoping)
1688 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) 1686 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules)
1689 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_strings) 1687 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_strings)
1690 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrays) 1688 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrays)
1691 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) 1689 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes)
1692 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_classes) 1690 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_classes)
1693 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_literals) 1691 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_literals)
1694 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions) 1692 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions)
1695 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_numeric_literals) 1693 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_numeric_literals)
1696 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tostring) 1694 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tostring)
1697 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) 1695 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies)
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
2265 bool Genesis::InstallExperimentalNatives() { 2263 bool Genesis::InstallExperimentalNatives() {
2266 static const char* harmony_arrays_natives[] = { 2264 static const char* harmony_arrays_natives[] = {
2267 "native harmony-array.js", "native harmony-typedarray.js", NULL}; 2265 "native harmony-array.js", "native harmony-typedarray.js", NULL};
2268 static const char* harmony_array_includes_natives[] = { 2266 static const char* harmony_array_includes_natives[] = {
2269 "native harmony-array-includes.js", NULL}; 2267 "native harmony-array-includes.js", NULL};
2270 static const char* harmony_proxies_natives[] = {"native proxy.js", NULL}; 2268 static const char* harmony_proxies_natives[] = {"native proxy.js", NULL};
2271 static const char* harmony_strings_natives[] = {"native harmony-string.js", 2269 static const char* harmony_strings_natives[] = {"native harmony-string.js",
2272 NULL}; 2270 NULL};
2273 static const char* harmony_classes_natives[] = {NULL}; 2271 static const char* harmony_classes_natives[] = {NULL};
2274 static const char* harmony_modules_natives[] = {NULL}; 2272 static const char* harmony_modules_natives[] = {NULL};
2275 static const char* harmony_scoping_natives[] = {NULL};
2276 static const char* harmony_object_literals_natives[] = {NULL}; 2273 static const char* harmony_object_literals_natives[] = {NULL};
2277 static const char* harmony_regexps_natives[] = { 2274 static const char* harmony_regexps_natives[] = {
2278 "native harmony-regexp.js", NULL}; 2275 "native harmony-regexp.js", NULL};
2279 static const char* harmony_arrow_functions_natives[] = {NULL}; 2276 static const char* harmony_arrow_functions_natives[] = {NULL};
2280 static const char* harmony_numeric_literals_natives[] = {NULL}; 2277 static const char* harmony_numeric_literals_natives[] = {NULL};
2281 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", 2278 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js",
2282 NULL}; 2279 NULL};
2283 static const char* harmony_templates_natives[] = { 2280 static const char* harmony_templates_natives[] = {
2284 "native harmony-templates.js", NULL}; 2281 "native harmony-templates.js", NULL};
2285 static const char* harmony_sloppy_natives[] = {NULL}; 2282 static const char* harmony_sloppy_natives[] = {NULL};
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
2922 return from + sizeof(NestingCounterType); 2919 return from + sizeof(NestingCounterType);
2923 } 2920 }
2924 2921
2925 2922
2926 // Called when the top-level V8 mutex is destroyed. 2923 // Called when the top-level V8 mutex is destroyed.
2927 void Bootstrapper::FreeThreadResources() { 2924 void Bootstrapper::FreeThreadResources() {
2928 DCHECK(!IsActive()); 2925 DCHECK(!IsActive());
2929 } 2926 }
2930 2927
2931 } } // namespace v8::internal 2928 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/contexts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698