| 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" |
| 11 #include "src/extensions/free-buffer-extension.h" | 11 #include "src/extensions/free-buffer-extension.h" |
| 12 #include "src/extensions/gc-extension.h" | 12 #include "src/extensions/gc-extension.h" |
| 13 #include "src/extensions/statistics-extension.h" | 13 #include "src/extensions/statistics-extension.h" |
| 14 #include "src/extensions/trigger-failure-extension.h" | 14 #include "src/extensions/trigger-failure-extension.h" |
| 15 #include "src/isolate-inl.h" | 15 #include "src/isolate-inl.h" |
| 16 #include "src/natives.h" | 16 #include "src/snapshot/natives.h" |
| 17 #include "src/snapshot.h" | 17 #include "src/snapshot/snapshot.h" |
| 18 #include "third_party/fdlibm/fdlibm.h" | 18 #include "third_party/fdlibm/fdlibm.h" |
| 19 | 19 |
| 20 namespace v8 { | 20 namespace v8 { |
| 21 namespace internal { | 21 namespace internal { |
| 22 | 22 |
| 23 Bootstrapper::Bootstrapper(Isolate* isolate) | 23 Bootstrapper::Bootstrapper(Isolate* isolate) |
| 24 : isolate_(isolate), | 24 : isolate_(isolate), |
| 25 nesting_(0), | 25 nesting_(0), |
| 26 extensions_cache_(Script::TYPE_EXTENSION) {} | 26 extensions_cache_(Script::TYPE_EXTENSION) {} |
| 27 | 27 |
| (...skipping 2927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2955 return from + sizeof(NestingCounterType); | 2955 return from + sizeof(NestingCounterType); |
| 2956 } | 2956 } |
| 2957 | 2957 |
| 2958 | 2958 |
| 2959 // Called when the top-level V8 mutex is destroyed. | 2959 // Called when the top-level V8 mutex is destroyed. |
| 2960 void Bootstrapper::FreeThreadResources() { | 2960 void Bootstrapper::FreeThreadResources() { |
| 2961 DCHECK(!IsActive()); | 2961 DCHECK(!IsActive()); |
| 2962 } | 2962 } |
| 2963 | 2963 |
| 2964 } } // namespace v8::internal | 2964 } } // namespace v8::internal |
| OLD | NEW |