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/base/ieee754.h" | 9 #include "src/base/ieee754.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 3018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3029 | 3029 |
3030 Handle<AccessorInfo> script_compilation_type = | 3030 Handle<AccessorInfo> script_compilation_type = |
3031 Accessors::ScriptCompilationTypeInfo(isolate, attribs); | 3031 Accessors::ScriptCompilationTypeInfo(isolate, attribs); |
3032 { | 3032 { |
3033 AccessorConstantDescriptor d( | 3033 AccessorConstantDescriptor d( |
3034 Handle<Name>(Name::cast(script_compilation_type->name())), | 3034 Handle<Name>(Name::cast(script_compilation_type->name())), |
3035 script_compilation_type, attribs); | 3035 script_compilation_type, attribs); |
3036 script_map->AppendDescriptor(&d); | 3036 script_map->AppendDescriptor(&d); |
3037 } | 3037 } |
3038 | 3038 |
3039 Handle<AccessorInfo> script_line_ends = | |
3040 Accessors::ScriptLineEndsInfo(isolate, attribs); | |
3041 { | |
3042 AccessorConstantDescriptor d( | |
3043 Handle<Name>(Name::cast(script_line_ends->name())), script_line_ends, | |
3044 attribs); | |
3045 script_map->AppendDescriptor(&d); | |
3046 } | |
3047 | |
3048 Handle<AccessorInfo> script_context_data = | 3039 Handle<AccessorInfo> script_context_data = |
3049 Accessors::ScriptContextDataInfo(isolate, attribs); | 3040 Accessors::ScriptContextDataInfo(isolate, attribs); |
3050 { | 3041 { |
3051 AccessorConstantDescriptor d( | 3042 AccessorConstantDescriptor d( |
3052 Handle<Name>(Name::cast(script_context_data->name())), | 3043 Handle<Name>(Name::cast(script_context_data->name())), |
3053 script_context_data, attribs); | 3044 script_context_data, attribs); |
3054 script_map->AppendDescriptor(&d); | 3045 script_map->AppendDescriptor(&d); |
3055 } | 3046 } |
3056 | 3047 |
3057 Handle<AccessorInfo> script_eval_from_script = | 3048 Handle<AccessorInfo> script_eval_from_script = |
(...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4540 } | 4531 } |
4541 | 4532 |
4542 | 4533 |
4543 // Called when the top-level V8 mutex is destroyed. | 4534 // Called when the top-level V8 mutex is destroyed. |
4544 void Bootstrapper::FreeThreadResources() { | 4535 void Bootstrapper::FreeThreadResources() { |
4545 DCHECK(!IsActive()); | 4536 DCHECK(!IsActive()); |
4546 } | 4537 } |
4547 | 4538 |
4548 } // namespace internal | 4539 } // namespace internal |
4549 } // namespace v8 | 4540 } // namespace v8 |
OLD | NEW |