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

Side by Side Diff: src/bootstrapper.cc

Issue 1513843006: Remove --harmony-array-includes flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | « BUILD.gn ('k') | 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/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 2080 matching lines...) Expand 10 before | Expand all | Expand 10 after
2091 INITIALIZE_FLAG(FLAG_harmony_tolength) 2091 INITIALIZE_FLAG(FLAG_harmony_tolength)
2092 2092
2093 #undef INITIALIZE_FLAG 2093 #undef INITIALIZE_FLAG
2094 } 2094 }
2095 2095
2096 2096
2097 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 2097 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
2098 void Genesis::InitializeGlobal_##id() {} 2098 void Genesis::InitializeGlobal_##id() {}
2099 2099
2100 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) 2100 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules)
2101 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes)
2102 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) 2101 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy)
2103 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) 2102 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function)
2104 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) 2103 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let)
2105 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) 2104 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters)
2106 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) 2105 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters)
2107 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) 2106 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind)
2108 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) 2107 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment)
2109 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2108 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2110 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) 2109 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps)
2111 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2110 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
2615 Map::EnsureDescriptorSlack(map, 1); 2614 Map::EnsureDescriptorSlack(map, 1);
2616 map->AppendDescriptor(&d); 2615 map->AppendDescriptor(&d);
2617 } 2616 }
2618 } 2617 }
2619 2618
2620 return true; 2619 return true;
2621 } 2620 }
2622 2621
2623 2622
2624 bool Genesis::InstallExperimentalNatives() { 2623 bool Genesis::InstallExperimentalNatives() {
2625 static const char* harmony_array_includes_natives[] = {
2626 "native harmony-array-includes.js", nullptr};
2627 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; 2624 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr};
2628 static const char* harmony_modules_natives[] = {nullptr}; 2625 static const char* harmony_modules_natives[] = {nullptr};
2629 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", 2626 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js",
2630 nullptr}; 2627 nullptr};
2631 static const char* harmony_tostring_natives[] = {nullptr}; 2628 static const char* harmony_tostring_natives[] = {nullptr};
2632 static const char* harmony_sloppy_natives[] = {nullptr}; 2629 static const char* harmony_sloppy_natives[] = {nullptr};
2633 static const char* harmony_sloppy_function_natives[] = {nullptr}; 2630 static const char* harmony_sloppy_function_natives[] = {nullptr};
2634 static const char* harmony_sloppy_let_natives[] = {nullptr}; 2631 static const char* harmony_sloppy_let_natives[] = {nullptr};
2635 static const char* harmony_unicode_regexps_natives[] = {nullptr}; 2632 static const char* harmony_unicode_regexps_natives[] = {nullptr};
2636 static const char* harmony_rest_parameters_natives[] = {nullptr}; 2633 static const char* harmony_rest_parameters_natives[] = {nullptr};
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after
3323 } 3320 }
3324 3321
3325 3322
3326 // Called when the top-level V8 mutex is destroyed. 3323 // Called when the top-level V8 mutex is destroyed.
3327 void Bootstrapper::FreeThreadResources() { 3324 void Bootstrapper::FreeThreadResources() {
3328 DCHECK(!IsActive()); 3325 DCHECK(!IsActive());
3329 } 3326 }
3330 3327
3331 } // namespace internal 3328 } // namespace internal
3332 } // namespace v8 3329 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698