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