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 4036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4047 (!FLAG_expose_free_buffer || | 4047 (!FLAG_expose_free_buffer || |
4048 InstallExtension(isolate, "v8/free-buffer", &extension_states)) && | 4048 InstallExtension(isolate, "v8/free-buffer", &extension_states)) && |
4049 (!FLAG_expose_gc || | 4049 (!FLAG_expose_gc || |
4050 InstallExtension(isolate, "v8/gc", &extension_states)) && | 4050 InstallExtension(isolate, "v8/gc", &extension_states)) && |
4051 (!FLAG_expose_externalize_string || | 4051 (!FLAG_expose_externalize_string || |
4052 InstallExtension(isolate, "v8/externalize", &extension_states)) && | 4052 InstallExtension(isolate, "v8/externalize", &extension_states)) && |
4053 (!FLAG_track_gc_object_stats || | 4053 (!FLAG_track_gc_object_stats || |
4054 InstallExtension(isolate, "v8/statistics", &extension_states)) && | 4054 InstallExtension(isolate, "v8/statistics", &extension_states)) && |
4055 (!FLAG_expose_trigger_failure || | 4055 (!FLAG_expose_trigger_failure || |
4056 InstallExtension(isolate, "v8/trigger-failure", &extension_states)) && | 4056 InstallExtension(isolate, "v8/trigger-failure", &extension_states)) && |
4057 (!(FLAG_ignition && FLAG_trace_ignition_dispatches) || | 4057 (!FLAG_trace_ignition_dispatches || |
4058 InstallExtension(isolate, "v8/ignition-statistics", | 4058 InstallExtension(isolate, "v8/ignition-statistics", |
4059 &extension_states)) && | 4059 &extension_states)) && |
4060 InstallRequestedExtensions(isolate, extensions, &extension_states); | 4060 InstallRequestedExtensions(isolate, extensions, &extension_states); |
4061 } | 4061 } |
4062 | 4062 |
4063 | 4063 |
4064 bool Genesis::InstallAutoExtensions(Isolate* isolate, | 4064 bool Genesis::InstallAutoExtensions(Isolate* isolate, |
4065 ExtensionStates* extension_states) { | 4065 ExtensionStates* extension_states) { |
4066 for (v8::RegisteredExtension* it = v8::RegisteredExtension::first_extension(); | 4066 for (v8::RegisteredExtension* it = v8::RegisteredExtension::first_extension(); |
4067 it != NULL; | 4067 it != NULL; |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4565 } | 4565 } |
4566 | 4566 |
4567 | 4567 |
4568 // Called when the top-level V8 mutex is destroyed. | 4568 // Called when the top-level V8 mutex is destroyed. |
4569 void Bootstrapper::FreeThreadResources() { | 4569 void Bootstrapper::FreeThreadResources() { |
4570 DCHECK(!IsActive()); | 4570 DCHECK(!IsActive()); |
4571 } | 4571 } |
4572 | 4572 |
4573 } // namespace internal | 4573 } // namespace internal |
4574 } // namespace v8 | 4574 } // namespace v8 |
OLD | NEW |