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/utils/random-number-generator.h" |
9 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
10 #include "src/extensions/externalize-string-extension.h" | 11 #include "src/extensions/externalize-string-extension.h" |
11 #include "src/extensions/free-buffer-extension.h" | 12 #include "src/extensions/free-buffer-extension.h" |
12 #include "src/extensions/gc-extension.h" | 13 #include "src/extensions/gc-extension.h" |
13 #include "src/extensions/statistics-extension.h" | 14 #include "src/extensions/statistics-extension.h" |
14 #include "src/extensions/trigger-failure-extension.h" | 15 #include "src/extensions/trigger-failure-extension.h" |
15 #include "src/isolate-inl.h" | |
16 #include "src/snapshot/natives.h" | 16 #include "src/snapshot/natives.h" |
17 #include "src/snapshot/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), |
(...skipping 2936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2962 return from + sizeof(NestingCounterType); | 2962 return from + sizeof(NestingCounterType); |
2963 } | 2963 } |
2964 | 2964 |
2965 | 2965 |
2966 // Called when the top-level V8 mutex is destroyed. | 2966 // Called when the top-level V8 mutex is destroyed. |
2967 void Bootstrapper::FreeThreadResources() { | 2967 void Bootstrapper::FreeThreadResources() { |
2968 DCHECK(!IsActive()); | 2968 DCHECK(!IsActive()); |
2969 } | 2969 } |
2970 | 2970 |
2971 } } // namespace v8::internal | 2971 } } // namespace v8::internal |
OLD | NEW |