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

Side by Side Diff: src/bootstrapper.cc

Issue 1255013002: Split off a separate --harmony_sloppy_let flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix flags on mjsunit tests Created 5 years, 5 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 | « no previous file | src/flag-definitions.h » ('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/base/utils/random-number-generator.h" 9 #include "src/base/utils/random-number-generator.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 1846 matching lines...) Expand 10 before | Expand all | Expand 10 after
1857 1857
1858 #define EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(id) \ 1858 #define EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(id) \
1859 void Genesis::InstallNativeFunctions_##id() {} 1859 void Genesis::InstallNativeFunctions_##id() {}
1860 1860
1861 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_modules) 1861 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_modules)
1862 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_array_includes) 1862 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_array_includes)
1863 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_regexps) 1863 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_regexps)
1864 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrow_functions) 1864 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrow_functions)
1865 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_tostring) 1865 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_tostring)
1866 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy) 1866 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy)
1867 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy_let)
1867 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_unicode) 1868 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_unicode)
1868 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_unicode_regexps) 1869 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_unicode_regexps)
1869 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_computed_property_names) 1870 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_computed_property_names)
1870 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_rest_parameters) 1871 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_rest_parameters)
1871 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_reflect) 1872 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_reflect)
1872 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spreadcalls) 1873 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spreadcalls)
1873 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_destructuring) 1874 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_destructuring)
1874 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object) 1875 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object)
1875 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spread_arrays) 1876 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spread_arrays)
1876 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sharedarraybuffer) 1877 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sharedarraybuffer)
(...skipping 16 matching lines...) Expand all
1893 #undef INSTALL_NATIVE 1894 #undef INSTALL_NATIVE
1894 1895
1895 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 1896 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
1896 void Genesis::InitializeGlobal_##id() {} 1897 void Genesis::InitializeGlobal_##id() {}
1897 1898
1898 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) 1899 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules)
1899 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) 1900 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes)
1900 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions) 1901 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions)
1901 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) 1902 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies)
1902 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) 1903 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy)
1904 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let)
1903 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode) 1905 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode)
1904 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_computed_property_names) 1906 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_computed_property_names)
1905 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) 1907 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters)
1906 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spreadcalls) 1908 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spreadcalls)
1907 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) 1909 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring)
1908 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object) 1910 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object)
1909 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays) 1911 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays)
1910 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_atomics) 1912 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_atomics)
1911 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target) 1913 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target)
1912 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) 1914 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable)
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
2571 static const char* harmony_array_includes_natives[] = { 2573 static const char* harmony_array_includes_natives[] = {
2572 "native harmony-array-includes.js", nullptr}; 2574 "native harmony-array-includes.js", nullptr};
2573 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; 2575 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr};
2574 static const char* harmony_modules_natives[] = {nullptr}; 2576 static const char* harmony_modules_natives[] = {nullptr};
2575 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", 2577 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js",
2576 nullptr}; 2578 nullptr};
2577 static const char* harmony_arrow_functions_natives[] = {nullptr}; 2579 static const char* harmony_arrow_functions_natives[] = {nullptr};
2578 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", 2580 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js",
2579 nullptr}; 2581 nullptr};
2580 static const char* harmony_sloppy_natives[] = {nullptr}; 2582 static const char* harmony_sloppy_natives[] = {nullptr};
2583 static const char* harmony_sloppy_let_natives[] = {nullptr};
2581 static const char* harmony_unicode_natives[] = {nullptr}; 2584 static const char* harmony_unicode_natives[] = {nullptr};
2582 static const char* harmony_unicode_regexps_natives[] = {nullptr}; 2585 static const char* harmony_unicode_regexps_natives[] = {nullptr};
2583 static const char* harmony_computed_property_names_natives[] = {nullptr}; 2586 static const char* harmony_computed_property_names_natives[] = {nullptr};
2584 static const char* harmony_rest_parameters_natives[] = {nullptr}; 2587 static const char* harmony_rest_parameters_natives[] = {nullptr};
2585 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", 2588 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js",
2586 nullptr}; 2589 nullptr};
2587 static const char* harmony_spreadcalls_natives[] = { 2590 static const char* harmony_spreadcalls_natives[] = {
2588 "native harmony-spread.js", nullptr}; 2591 "native harmony-spread.js", nullptr};
2589 static const char* harmony_destructuring_natives[] = {nullptr}; 2592 static const char* harmony_destructuring_natives[] = {nullptr};
2590 static const char* harmony_object_natives[] = {"native harmony-object.js", 2593 static const char* harmony_object_natives[] = {"native harmony-object.js",
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
3315 } 3318 }
3316 3319
3317 3320
3318 // Called when the top-level V8 mutex is destroyed. 3321 // Called when the top-level V8 mutex is destroyed.
3319 void Bootstrapper::FreeThreadResources() { 3322 void Bootstrapper::FreeThreadResources() {
3320 DCHECK(!IsActive()); 3323 DCHECK(!IsActive());
3321 } 3324 }
3322 3325
3323 } // namespace internal 3326 } // namespace internal
3324 } // namespace v8 3327 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698