| 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 "bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 | 6 |
| 7 #include "accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "isolate-inl.h" | 8 #include "src/isolate-inl.h" |
| 9 #include "natives.h" | 9 #include "src/natives.h" |
| 10 #include "snapshot.h" | 10 #include "src/snapshot.h" |
| 11 #include "trig-table.h" | 11 #include "src/trig-table.h" |
| 12 #include "extensions/externalize-string-extension.h" | 12 #include "src/extensions/externalize-string-extension.h" |
| 13 #include "extensions/free-buffer-extension.h" | 13 #include "src/extensions/free-buffer-extension.h" |
| 14 #include "extensions/gc-extension.h" | 14 #include "src/extensions/gc-extension.h" |
| 15 #include "extensions/statistics-extension.h" | 15 #include "src/extensions/statistics-extension.h" |
| 16 #include "extensions/trigger-failure-extension.h" | 16 #include "src/extensions/trigger-failure-extension.h" |
| 17 #include "code-stubs.h" | 17 #include "src/code-stubs.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 2673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2701 return from + sizeof(NestingCounterType); | 2701 return from + sizeof(NestingCounterType); |
| 2702 } | 2702 } |
| 2703 | 2703 |
| 2704 | 2704 |
| 2705 // Called when the top-level V8 mutex is destroyed. | 2705 // Called when the top-level V8 mutex is destroyed. |
| 2706 void Bootstrapper::FreeThreadResources() { | 2706 void Bootstrapper::FreeThreadResources() { |
| 2707 ASSERT(!IsActive()); | 2707 ASSERT(!IsActive()); |
| 2708 } | 2708 } |
| 2709 | 2709 |
| 2710 } } // namespace v8::internal | 2710 } } // namespace v8::internal |
| OLD | NEW |