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

Side by Side Diff: src/bootstrapper.cc

Issue 1609893003: [es6] Tail calls support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing Created 4 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 | « src/ast/ast.h ('k') | src/builtins.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 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2311 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) 2311 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment)
2312 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2312 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2313 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) 2313 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps)
2314 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2314 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
2315 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) 2315 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion)
2316 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) 2316 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength)
2317 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 2317 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
2318 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 2318 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
2319 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) 2319 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name)
2320 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) 2320 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra)
2321 2321 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls)
2322 2322
2323 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, 2323 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context,
2324 const char* name, Handle<Symbol> value) { 2324 const char* name, Handle<Symbol> value) {
2325 Handle<JSGlobalObject> global( 2325 Handle<JSGlobalObject> global(
2326 JSGlobalObject::cast(native_context->global_object())); 2326 JSGlobalObject::cast(native_context->global_object()));
2327 Handle<String> symbol_string = factory->InternalizeUtf8String("Symbol"); 2327 Handle<String> symbol_string = factory->InternalizeUtf8String("Symbol");
2328 Handle<JSObject> symbol = Handle<JSObject>::cast( 2328 Handle<JSObject> symbol = Handle<JSObject>::cast(
2329 JSObject::GetProperty(global, symbol_string).ToHandleChecked()); 2329 JSObject::GetProperty(global, symbol_string).ToHandleChecked());
2330 Handle<String> name_string = factory->InternalizeUtf8String(name); 2330 Handle<String> name_string = factory->InternalizeUtf8String(name);
2331 PropertyAttributes attributes = 2331 PropertyAttributes attributes =
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
2927 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; 2927 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr};
2928 static const char* harmony_modules_natives[] = {nullptr}; 2928 static const char* harmony_modules_natives[] = {nullptr};
2929 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", 2929 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js",
2930 nullptr}; 2930 nullptr};
2931 static const char* harmony_tostring_natives[] = {nullptr}; 2931 static const char* harmony_tostring_natives[] = {nullptr};
2932 static const char* harmony_sloppy_natives[] = {nullptr}; 2932 static const char* harmony_sloppy_natives[] = {nullptr};
2933 static const char* harmony_sloppy_function_natives[] = {nullptr}; 2933 static const char* harmony_sloppy_function_natives[] = {nullptr};
2934 static const char* harmony_sloppy_let_natives[] = {nullptr}; 2934 static const char* harmony_sloppy_let_natives[] = {nullptr};
2935 static const char* harmony_species_natives[] = {"native harmony-species.js", 2935 static const char* harmony_species_natives[] = {"native harmony-species.js",
2936 nullptr}; 2936 nullptr};
2937 static const char* harmony_tailcalls_natives[] = {nullptr};
2937 static const char* harmony_unicode_regexps_natives[] = { 2938 static const char* harmony_unicode_regexps_natives[] = {
2938 "native harmony-unicode-regexps.js", nullptr}; 2939 "native harmony-unicode-regexps.js", nullptr};
2939 static const char* harmony_default_parameters_natives[] = {nullptr}; 2940 static const char* harmony_default_parameters_natives[] = {nullptr};
2940 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", 2941 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js",
2941 nullptr}; 2942 nullptr};
2942 static const char* harmony_destructuring_bind_natives[] = {nullptr}; 2943 static const char* harmony_destructuring_bind_natives[] = {nullptr};
2943 static const char* harmony_destructuring_assignment_natives[] = {nullptr}; 2944 static const char* harmony_destructuring_assignment_natives[] = {nullptr};
2944 static const char* harmony_object_observe_natives[] = { 2945 static const char* harmony_object_observe_natives[] = {
2945 "native harmony-object-observe.js", nullptr}; 2946 "native harmony-object-observe.js", nullptr};
2946 static const char* harmony_sharedarraybuffer_natives[] = { 2947 static const char* harmony_sharedarraybuffer_natives[] = {
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
3625 } 3626 }
3626 3627
3627 3628
3628 // Called when the top-level V8 mutex is destroyed. 3629 // Called when the top-level V8 mutex is destroyed.
3629 void Bootstrapper::FreeThreadResources() { 3630 void Bootstrapper::FreeThreadResources() {
3630 DCHECK(!IsActive()); 3631 DCHECK(!IsActive());
3631 } 3632 }
3632 3633
3633 } // namespace internal 3634 } // namespace internal
3634 } // namespace v8 3635 } // namespace v8
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698