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

Side by Side Diff: src/bootstrapper.cc

Issue 2502173002: [inspector] removed embbeder debugger script flag (Closed)
Patch Set: Created 4 years, 1 month 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/base/ieee754.h" 9 #include "src/base/ieee754.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 3079 matching lines...) Expand 10 before | Expand all | Expand 10 after
3090 3090
3091 Handle<AccessorInfo> script_source_mapping_url = 3091 Handle<AccessorInfo> script_source_mapping_url =
3092 Accessors::ScriptSourceMappingUrlInfo(isolate, attribs); 3092 Accessors::ScriptSourceMappingUrlInfo(isolate, attribs);
3093 { 3093 {
3094 AccessorConstantDescriptor d( 3094 AccessorConstantDescriptor d(
3095 Handle<Name>(Name::cast(script_source_mapping_url->name())), 3095 Handle<Name>(Name::cast(script_source_mapping_url->name())),
3096 script_source_mapping_url, attribs); 3096 script_source_mapping_url, attribs);
3097 script_map->AppendDescriptor(&d); 3097 script_map->AppendDescriptor(&d);
3098 } 3098 }
3099 3099
3100 Handle<AccessorInfo> script_is_embedder_debug_script =
3101 Accessors::ScriptIsEmbedderDebugScriptInfo(isolate, attribs);
3102 {
3103 AccessorConstantDescriptor d(
3104 Handle<Name>(Name::cast(script_is_embedder_debug_script->name())),
3105 script_is_embedder_debug_script, attribs);
3106 script_map->AppendDescriptor(&d);
3107 }
3108
3109 { 3100 {
3110 PrototypeIterator iter(native_context->sloppy_async_function_map()); 3101 PrototypeIterator iter(native_context->sloppy_async_function_map());
3111 Handle<JSObject> async_function_prototype(iter.GetCurrent<JSObject>()); 3102 Handle<JSObject> async_function_prototype(iter.GetCurrent<JSObject>());
3112 3103
3113 static const bool kUseStrictFunctionMap = true; 3104 static const bool kUseStrictFunctionMap = true;
3114 Handle<JSFunction> async_function_constructor = InstallFunction( 3105 Handle<JSFunction> async_function_constructor = InstallFunction(
3115 container, "AsyncFunction", JS_FUNCTION_TYPE, JSFunction::kSize, 3106 container, "AsyncFunction", JS_FUNCTION_TYPE, JSFunction::kSize,
3116 async_function_prototype, Builtins::kAsyncFunctionConstructor, 3107 async_function_prototype, Builtins::kAsyncFunctionConstructor,
3117 kUseStrictFunctionMap); 3108 kUseStrictFunctionMap);
3118 async_function_constructor->shared()->DontAdaptArguments(); 3109 async_function_constructor->shared()->DontAdaptArguments();
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
4565 } 4556 }
4566 4557
4567 4558
4568 // Called when the top-level V8 mutex is destroyed. 4559 // Called when the top-level V8 mutex is destroyed.
4569 void Bootstrapper::FreeThreadResources() { 4560 void Bootstrapper::FreeThreadResources() {
4570 DCHECK(!IsActive()); 4561 DCHECK(!IsActive());
4571 } 4562 }
4572 4563
4573 } // namespace internal 4564 } // namespace internal
4574 } // namespace v8 4565 } // namespace v8
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/debug/debug-interface.h » ('j') | src/inspector/v8-debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698