OLD | NEW |
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 2346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2357 | 2357 |
2358 Handle<AccessorInfo> script_compilation_type = | 2358 Handle<AccessorInfo> script_compilation_type = |
2359 Accessors::ScriptCompilationTypeInfo(isolate, attribs); | 2359 Accessors::ScriptCompilationTypeInfo(isolate, attribs); |
2360 { | 2360 { |
2361 AccessorConstantDescriptor d( | 2361 AccessorConstantDescriptor d( |
2362 Handle<Name>(Name::cast(script_compilation_type->name())), | 2362 Handle<Name>(Name::cast(script_compilation_type->name())), |
2363 script_compilation_type, attribs); | 2363 script_compilation_type, attribs); |
2364 script_map->AppendDescriptor(&d); | 2364 script_map->AppendDescriptor(&d); |
2365 } | 2365 } |
2366 | 2366 |
2367 Handle<AccessorInfo> script_line_ends = | |
2368 Accessors::ScriptLineEndsInfo(isolate, attribs); | |
2369 { | |
2370 AccessorConstantDescriptor d( | |
2371 Handle<Name>(Name::cast(script_line_ends->name())), script_line_ends, | |
2372 attribs); | |
2373 script_map->AppendDescriptor(&d); | |
2374 } | |
2375 | |
2376 Handle<AccessorInfo> script_context_data = | 2367 Handle<AccessorInfo> script_context_data = |
2377 Accessors::ScriptContextDataInfo(isolate, attribs); | 2368 Accessors::ScriptContextDataInfo(isolate, attribs); |
2378 { | 2369 { |
2379 AccessorConstantDescriptor d( | 2370 AccessorConstantDescriptor d( |
2380 Handle<Name>(Name::cast(script_context_data->name())), | 2371 Handle<Name>(Name::cast(script_context_data->name())), |
2381 script_context_data, attribs); | 2372 script_context_data, attribs); |
2382 script_map->AppendDescriptor(&d); | 2373 script_map->AppendDescriptor(&d); |
2383 } | 2374 } |
2384 | 2375 |
2385 Handle<AccessorInfo> script_eval_from_script = | 2376 Handle<AccessorInfo> script_eval_from_script = |
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3774 } | 3765 } |
3775 | 3766 |
3776 | 3767 |
3777 // Called when the top-level V8 mutex is destroyed. | 3768 // Called when the top-level V8 mutex is destroyed. |
3778 void Bootstrapper::FreeThreadResources() { | 3769 void Bootstrapper::FreeThreadResources() { |
3779 DCHECK(!IsActive()); | 3770 DCHECK(!IsActive()); |
3780 } | 3771 } |
3781 | 3772 |
3782 } // namespace internal | 3773 } // namespace internal |
3783 } // namespace v8 | 3774 } // namespace v8 |
OLD | NEW |