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 4043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4054 (!FLAG_expose_free_buffer || | 4054 (!FLAG_expose_free_buffer || |
4055 InstallExtension(isolate, "v8/free-buffer", &extension_states)) && | 4055 InstallExtension(isolate, "v8/free-buffer", &extension_states)) && |
4056 (!FLAG_expose_gc || | 4056 (!FLAG_expose_gc || |
4057 InstallExtension(isolate, "v8/gc", &extension_states)) && | 4057 InstallExtension(isolate, "v8/gc", &extension_states)) && |
4058 (!FLAG_expose_externalize_string || | 4058 (!FLAG_expose_externalize_string || |
4059 InstallExtension(isolate, "v8/externalize", &extension_states)) && | 4059 InstallExtension(isolate, "v8/externalize", &extension_states)) && |
4060 (!FLAG_track_gc_object_stats || | 4060 (!FLAG_track_gc_object_stats || |
4061 InstallExtension(isolate, "v8/statistics", &extension_states)) && | 4061 InstallExtension(isolate, "v8/statistics", &extension_states)) && |
4062 (!FLAG_expose_trigger_failure || | 4062 (!FLAG_expose_trigger_failure || |
4063 InstallExtension(isolate, "v8/trigger-failure", &extension_states)) && | 4063 InstallExtension(isolate, "v8/trigger-failure", &extension_states)) && |
4064 (!FLAG_trace_ignition_dispatches || | 4064 (!(FLAG_ignition && FLAG_trace_ignition_dispatches) || |
4065 InstallExtension(isolate, "v8/ignition-statistics", | 4065 InstallExtension(isolate, "v8/ignition-statistics", |
4066 &extension_states)) && | 4066 &extension_states)) && |
4067 InstallRequestedExtensions(isolate, extensions, &extension_states); | 4067 InstallRequestedExtensions(isolate, extensions, &extension_states); |
4068 } | 4068 } |
4069 | 4069 |
4070 | 4070 |
4071 bool Genesis::InstallAutoExtensions(Isolate* isolate, | 4071 bool Genesis::InstallAutoExtensions(Isolate* isolate, |
4072 ExtensionStates* extension_states) { | 4072 ExtensionStates* extension_states) { |
4073 for (v8::RegisteredExtension* it = v8::RegisteredExtension::first_extension(); | 4073 for (v8::RegisteredExtension* it = v8::RegisteredExtension::first_extension(); |
4074 it != NULL; | 4074 it != NULL; |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4572 } | 4572 } |
4573 | 4573 |
4574 | 4574 |
4575 // Called when the top-level V8 mutex is destroyed. | 4575 // Called when the top-level V8 mutex is destroyed. |
4576 void Bootstrapper::FreeThreadResources() { | 4576 void Bootstrapper::FreeThreadResources() { |
4577 DCHECK(!IsActive()); | 4577 DCHECK(!IsActive()); |
4578 } | 4578 } |
4579 | 4579 |
4580 } // namespace internal | 4580 } // namespace internal |
4581 } // namespace v8 | 4581 } // namespace v8 |
OLD | NEW |