OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
8 #include "src/api.h" | 8 #include "src/api.h" |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/base/once.h" | 10 #include "src/base/once.h" |
11 #include "src/base/utils/random-number-generator.h" | 11 #include "src/base/utils/random-number-generator.h" |
12 #include "src/bootstrapper.h" | 12 #include "src/bootstrapper.h" |
13 #include "src/codegen.h" | 13 #include "src/codegen.h" |
14 #include "src/compilation-cache.h" | 14 #include "src/compilation-cache.h" |
15 #include "src/conversions.h" | 15 #include "src/conversions.h" |
16 #include "src/cpu-profiler.h" | 16 #include "src/cpu-profiler.h" |
17 #include "src/debug.h" | 17 #include "src/debug.h" |
18 #include "src/deoptimizer.h" | 18 #include "src/deoptimizer.h" |
19 #include "src/global-handles.h" | 19 #include "src/global-handles.h" |
20 #include "src/heap/gc-idle-time-handler.h" | 20 #include "src/heap/gc-idle-time-handler.h" |
21 #include "src/heap/incremental-marking.h" | 21 #include "src/heap/incremental-marking.h" |
22 #include "src/heap/mark-compact.h" | 22 #include "src/heap/mark-compact.h" |
23 #include "src/heap/objects-visiting-inl.h" | 23 #include "src/heap/objects-visiting-inl.h" |
24 #include "src/heap/objects-visiting.h" | 24 #include "src/heap/objects-visiting.h" |
25 #include "src/heap/store-buffer.h" | 25 #include "src/heap/store-buffer.h" |
26 #include "src/heap-profiler.h" | 26 #include "src/heap-profiler.h" |
27 #include "src/isolate-inl.h" | 27 #include "src/isolate-inl.h" |
28 #include "src/natives.h" | |
29 #include "src/runtime-profiler.h" | 28 #include "src/runtime-profiler.h" |
30 #include "src/scopeinfo.h" | 29 #include "src/scopeinfo.h" |
31 #include "src/serialize.h" | 30 #include "src/snapshot/natives.h" |
32 #include "src/snapshot.h" | 31 #include "src/snapshot/serialize.h" |
| 32 #include "src/snapshot/snapshot.h" |
33 #include "src/utils.h" | 33 #include "src/utils.h" |
34 #include "src/v8threads.h" | 34 #include "src/v8threads.h" |
35 #include "src/vm-state-inl.h" | 35 #include "src/vm-state-inl.h" |
36 | 36 |
37 #if V8_TARGET_ARCH_PPC && !V8_INTERPRETED_REGEXP | 37 #if V8_TARGET_ARCH_PPC && !V8_INTERPRETED_REGEXP |
38 #include "src/regexp-macro-assembler.h" // NOLINT | 38 #include "src/regexp-macro-assembler.h" // NOLINT |
39 #include "src/ppc/regexp-macro-assembler-ppc.h" // NOLINT | 39 #include "src/ppc/regexp-macro-assembler-ppc.h" // NOLINT |
40 #endif | 40 #endif |
41 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP | 41 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
42 #include "src/regexp-macro-assembler.h" // NOLINT | 42 #include "src/regexp-macro-assembler.h" // NOLINT |
(...skipping 6351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6394 static_cast<int>(object_sizes_last_time_[index])); | 6394 static_cast<int>(object_sizes_last_time_[index])); |
6395 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) | 6395 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) |
6396 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 6396 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
6397 | 6397 |
6398 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 6398 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
6399 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 6399 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
6400 ClearObjectStats(); | 6400 ClearObjectStats(); |
6401 } | 6401 } |
6402 } | 6402 } |
6403 } // namespace v8::internal | 6403 } // namespace v8::internal |
OLD | NEW |