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

Side by Side Diff: src/bootstrapper.cc

Issue 1891633003: [es7] Add --harmony-explicit-tailcalls flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/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 2387 matching lines...) Expand 10 before | Expand all | Expand 10 after
2398 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2398 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2399 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2399 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
2400 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 2400 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
2401 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) 2401 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close)
2402 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) 2402 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec)
2403 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 2403 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
2404 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) 2404 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property)
2405 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) 2405 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name)
2406 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) 2406 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent)
2407 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) 2407 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra)
2408 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls)
2408 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) 2409 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls)
2409 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_instanceof) 2410 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_instanceof)
2410 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) 2411 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations)
2411 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_exponentiation_operator) 2412 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_exponentiation_operator)
2412 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) 2413 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding)
2413 2414
2414 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, 2415 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context,
2415 const char* name, Handle<Symbol> value) { 2416 const char* name, Handle<Symbol> value) {
2416 Handle<JSGlobalObject> global( 2417 Handle<JSGlobalObject> global(
2417 JSGlobalObject::cast(native_context->global_object())); 2418 JSGlobalObject::cast(native_context->global_object()));
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
2941 } 2942 }
2942 2943
2943 return true; 2944 return true;
2944 } 2945 }
2945 2946
2946 2947
2947 bool Genesis::InstallExperimentalNatives() { 2948 bool Genesis::InstallExperimentalNatives() {
2948 static const char* harmony_iterator_close_natives[] = {nullptr}; 2949 static const char* harmony_iterator_close_natives[] = {nullptr};
2949 static const char* harmony_species_natives[] = {"native harmony-species.js", 2950 static const char* harmony_species_natives[] = {"native harmony-species.js",
2950 nullptr}; 2951 nullptr};
2952 static const char* harmony_explicit_tailcalls_natives[] = {nullptr};
2951 static const char* harmony_tailcalls_natives[] = {nullptr}; 2953 static const char* harmony_tailcalls_natives[] = {nullptr};
2952 static const char* harmony_unicode_regexps_natives[] = { 2954 static const char* harmony_unicode_regexps_natives[] = {
2953 "native harmony-unicode-regexps.js", nullptr}; 2955 "native harmony-unicode-regexps.js", nullptr};
2954 static const char* harmony_object_observe_natives[] = { 2956 static const char* harmony_object_observe_natives[] = {
2955 "native harmony-object-observe.js", nullptr}; 2957 "native harmony-object-observe.js", nullptr};
2956 static const char* harmony_sharedarraybuffer_natives[] = { 2958 static const char* harmony_sharedarraybuffer_natives[] = {
2957 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; 2959 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL};
2958 static const char* harmony_simd_natives[] = {"native harmony-simd.js", 2960 static const char* harmony_simd_natives[] = {"native harmony-simd.js",
2959 nullptr}; 2961 nullptr};
2960 static const char* harmony_do_expressions_natives[] = {nullptr}; 2962 static const char* harmony_do_expressions_natives[] = {nullptr};
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
3642 } 3644 }
3643 3645
3644 3646
3645 // Called when the top-level V8 mutex is destroyed. 3647 // Called when the top-level V8 mutex is destroyed.
3646 void Bootstrapper::FreeThreadResources() { 3648 void Bootstrapper::FreeThreadResources() {
3647 DCHECK(!IsActive()); 3649 DCHECK(!IsActive());
3648 } 3650 }
3649 3651
3650 } // namespace internal 3652 } // namespace internal
3651 } // namespace v8 3653 } // 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