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

Side by Side Diff: src/bootstrapper.cc

Issue 2621173002: Remove --harmony-async-await runtime flag (Closed)
Patch Set: Update test ref Created 3 years, 11 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/ieee754.h" 9 #include "src/base/ieee754.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 3423 matching lines...) Expand 10 before | Expand all | Expand 10 after
3434 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 3434 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
3435 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 3435 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
3436 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) 3436 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures)
3437 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) 3437 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property)
3438 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) 3438 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent)
3439 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) 3439 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls)
3440 #ifdef V8_I18N_SUPPORT 3440 #ifdef V8_I18N_SUPPORT
3441 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) 3441 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts)
3442 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) 3442 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping)
3443 #endif 3443 #endif
3444 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await)
3445 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) 3444 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators)
3446 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) 3445 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas)
3447 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields) 3446 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields)
3448 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_spread) 3447 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_spread)
3449 3448
3450 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, 3449 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context,
3451 const char* name, Handle<Symbol> value) { 3450 const char* name, Handle<Symbol> value) {
3452 Handle<JSGlobalObject> global( 3451 Handle<JSGlobalObject> global(
3453 JSGlobalObject::cast(native_context->global_object())); 3452 JSGlobalObject::cast(native_context->global_object()));
3454 Handle<String> symbol_string = factory->InternalizeUtf8String("Symbol"); 3453 Handle<String> symbol_string = factory->InternalizeUtf8String("Symbol");
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
3994 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; 3993 static const char* harmony_regexp_named_captures_natives[] = {nullptr};
3995 static const char* harmony_regexp_property_natives[] = {nullptr}; 3994 static const char* harmony_regexp_property_natives[] = {nullptr};
3996 static const char* harmony_function_sent_natives[] = {nullptr}; 3995 static const char* harmony_function_sent_natives[] = {nullptr};
3997 static const char* harmony_array_prototype_values_natives[] = {nullptr}; 3996 static const char* harmony_array_prototype_values_natives[] = {nullptr};
3998 #ifdef V8_I18N_SUPPORT 3997 #ifdef V8_I18N_SUPPORT
3999 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js", 3998 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js",
4000 nullptr}; 3999 nullptr};
4001 static const char* datetime_format_to_parts_natives[] = { 4000 static const char* datetime_format_to_parts_natives[] = {
4002 "native datetime-format-to-parts.js", nullptr}; 4001 "native datetime-format-to-parts.js", nullptr};
4003 #endif 4002 #endif
4004 static const char* harmony_async_await_natives[] = {nullptr};
4005 static const char* harmony_restrictive_generators_natives[] = {nullptr}; 4003 static const char* harmony_restrictive_generators_natives[] = {nullptr};
4006 static const char* harmony_trailing_commas_natives[] = {nullptr}; 4004 static const char* harmony_trailing_commas_natives[] = {nullptr};
4007 static const char* harmony_class_fields_natives[] = {nullptr}; 4005 static const char* harmony_class_fields_natives[] = {nullptr};
4008 static const char* harmony_object_spread_natives[] = {nullptr}; 4006 static const char* harmony_object_spread_natives[] = {nullptr};
4009 4007
4010 for (int i = ExperimentalNatives::GetDebuggerCount(); 4008 for (int i = ExperimentalNatives::GetDebuggerCount();
4011 i < ExperimentalNatives::GetBuiltinsCount(); i++) { 4009 i < ExperimentalNatives::GetBuiltinsCount(); i++) {
4012 #define INSTALL_EXPERIMENTAL_NATIVES(id, desc) \ 4010 #define INSTALL_EXPERIMENTAL_NATIVES(id, desc) \
4013 if (FLAG_##id) { \ 4011 if (FLAG_##id) { \
4014 for (size_t j = 0; id##_natives[j] != NULL; j++) { \ 4012 for (size_t j = 0; id##_natives[j] != NULL; j++) { \
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
4742 } 4740 }
4743 4741
4744 4742
4745 // Called when the top-level V8 mutex is destroyed. 4743 // Called when the top-level V8 mutex is destroyed.
4746 void Bootstrapper::FreeThreadResources() { 4744 void Bootstrapper::FreeThreadResources() {
4747 DCHECK(!IsActive()); 4745 DCHECK(!IsActive());
4748 } 4746 }
4749 4747
4750 } // namespace internal 4748 } // namespace internal
4751 } // namespace v8 4749 } // 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