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/isolate-inl.h" | 8 #include "src/code-stubs.h" |
9 #include "src/natives.h" | |
10 #include "src/snapshot.h" | |
11 #include "src/trig-table.h" | |
12 #include "src/extensions/externalize-string-extension.h" | 9 #include "src/extensions/externalize-string-extension.h" |
13 #include "src/extensions/free-buffer-extension.h" | 10 #include "src/extensions/free-buffer-extension.h" |
14 #include "src/extensions/gc-extension.h" | 11 #include "src/extensions/gc-extension.h" |
15 #include "src/extensions/statistics-extension.h" | 12 #include "src/extensions/statistics-extension.h" |
16 #include "src/extensions/trigger-failure-extension.h" | 13 #include "src/extensions/trigger-failure-extension.h" |
17 #include "src/code-stubs.h" | 14 #include "src/isolate-inl.h" |
| 15 #include "src/natives.h" |
| 16 #include "src/snapshot.h" |
| 17 #include "src/trig-table.h" |
18 | 18 |
19 namespace v8 { | 19 namespace v8 { |
20 namespace internal { | 20 namespace internal { |
21 | 21 |
22 NativesExternalStringResource::NativesExternalStringResource( | 22 NativesExternalStringResource::NativesExternalStringResource( |
23 Bootstrapper* bootstrapper, | 23 Bootstrapper* bootstrapper, |
24 const char* source, | 24 const char* source, |
25 size_t length) | 25 size_t length) |
26 : data_(source), length_(length) { | 26 : data_(source), length_(length) { |
27 if (bootstrapper->delete_these_non_arrays_on_tear_down_ == NULL) { | 27 if (bootstrapper->delete_these_non_arrays_on_tear_down_ == NULL) { |
(...skipping 2690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2718 return from + sizeof(NestingCounterType); | 2718 return from + sizeof(NestingCounterType); |
2719 } | 2719 } |
2720 | 2720 |
2721 | 2721 |
2722 // Called when the top-level V8 mutex is destroyed. | 2722 // Called when the top-level V8 mutex is destroyed. |
2723 void Bootstrapper::FreeThreadResources() { | 2723 void Bootstrapper::FreeThreadResources() { |
2724 ASSERT(!IsActive()); | 2724 ASSERT(!IsActive()); |
2725 } | 2725 } |
2726 | 2726 |
2727 } } // namespace v8::internal | 2727 } } // namespace v8::internal |
OLD | NEW |