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

Side by Side Diff: src/bootstrapper.cc

Issue 1309813007: [es6] implement destructuring assignment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove facilities for rewriting the expression multiple ways 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
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 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 void Genesis::InitializeGlobal_##id() {} 2011 void Genesis::InitializeGlobal_##id() {}
2012 2012
2013 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) 2013 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules)
2014 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) 2014 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes)
2015 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) 2015 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy)
2016 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) 2016 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function)
2017 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) 2017 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let)
2018 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) 2018 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters)
2019 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) 2019 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters)
2020 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) 2020 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind)
2021 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment)
2021 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2022 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2022 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) 2023 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps)
2023 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2024 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
2024 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) 2025 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion)
2025 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) 2026 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength)
2026 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 2027 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
2027 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 2028 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
2028 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) 2029 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra)
2029 2030
2030 2031
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
2515 static const char* harmony_tostring_natives[] = {nullptr}; 2516 static const char* harmony_tostring_natives[] = {nullptr};
2516 static const char* harmony_sloppy_natives[] = {nullptr}; 2517 static const char* harmony_sloppy_natives[] = {nullptr};
2517 static const char* harmony_sloppy_function_natives[] = {nullptr}; 2518 static const char* harmony_sloppy_function_natives[] = {nullptr};
2518 static const char* harmony_sloppy_let_natives[] = {nullptr}; 2519 static const char* harmony_sloppy_let_natives[] = {nullptr};
2519 static const char* harmony_unicode_regexps_natives[] = {nullptr}; 2520 static const char* harmony_unicode_regexps_natives[] = {nullptr};
2520 static const char* harmony_rest_parameters_natives[] = {nullptr}; 2521 static const char* harmony_rest_parameters_natives[] = {nullptr};
2521 static const char* harmony_default_parameters_natives[] = {nullptr}; 2522 static const char* harmony_default_parameters_natives[] = {nullptr};
2522 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", 2523 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js",
2523 nullptr}; 2524 nullptr};
2524 static const char* harmony_destructuring_bind_natives[] = {nullptr}; 2525 static const char* harmony_destructuring_bind_natives[] = {nullptr};
2526 static const char* harmony_destructuring_assignment_natives[] = {nullptr};
2525 static const char* harmony_object_observe_natives[] = { 2527 static const char* harmony_object_observe_natives[] = {
2526 "native harmony-object-observe.js", nullptr}; 2528 "native harmony-object-observe.js", nullptr};
2527 static const char* harmony_sharedarraybuffer_natives[] = { 2529 static const char* harmony_sharedarraybuffer_natives[] = {
2528 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; 2530 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL};
2529 static const char* harmony_concat_spreadable_natives[] = {nullptr}; 2531 static const char* harmony_concat_spreadable_natives[] = {nullptr};
2530 static const char* harmony_simd_natives[] = {"native harmony-simd.js", 2532 static const char* harmony_simd_natives[] = {"native harmony-simd.js",
2531 nullptr}; 2533 nullptr};
2532 static const char* harmony_tolength_natives[] = {nullptr}; 2534 static const char* harmony_tolength_natives[] = {nullptr};
2533 static const char* harmony_completion_natives[] = {nullptr}; 2535 static const char* harmony_completion_natives[] = {nullptr};
2534 static const char* harmony_do_expressions_natives[] = {nullptr}; 2536 static const char* harmony_do_expressions_natives[] = {nullptr};
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
3218 } 3220 }
3219 3221
3220 3222
3221 // Called when the top-level V8 mutex is destroyed. 3223 // Called when the top-level V8 mutex is destroyed.
3222 void Bootstrapper::FreeThreadResources() { 3224 void Bootstrapper::FreeThreadResources() {
3223 DCHECK(!IsActive()); 3225 DCHECK(!IsActive());
3224 } 3226 }
3225 3227
3226 } // namespace internal 3228 } // namespace internal
3227 } // namespace v8 3229 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698