OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 14 matching lines...) Expand all Loading... |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #include "v8.h" | 28 #include "v8.h" |
29 | 29 |
30 #include "accessors.h" | 30 #include "accessors.h" |
31 #include "api.h" | 31 #include "api.h" |
32 #include "bootstrapper.h" | 32 #include "bootstrapper.h" |
33 #include "codegen.h" | 33 #include "codegen.h" |
34 #include "compilation-cache.h" | 34 #include "compilation-cache.h" |
| 35 #include "conversions.h" |
35 #include "cpu-profiler.h" | 36 #include "cpu-profiler.h" |
36 #include "debug.h" | 37 #include "debug.h" |
37 #include "deoptimizer.h" | 38 #include "deoptimizer.h" |
38 #include "global-handles.h" | 39 #include "global-handles.h" |
39 #include "heap-profiler.h" | 40 #include "heap-profiler.h" |
40 #include "incremental-marking.h" | 41 #include "incremental-marking.h" |
41 #include "isolate-inl.h" | 42 #include "isolate-inl.h" |
42 #include "mark-compact.h" | 43 #include "mark-compact.h" |
43 #include "natives.h" | 44 #include "natives.h" |
44 #include "objects-visiting.h" | 45 #include "objects-visiting.h" |
45 #include "objects-visiting-inl.h" | 46 #include "objects-visiting-inl.h" |
46 #include "once.h" | 47 #include "once.h" |
47 #include "runtime-profiler.h" | 48 #include "runtime-profiler.h" |
48 #include "scopeinfo.h" | 49 #include "scopeinfo.h" |
49 #include "snapshot.h" | 50 #include "snapshot.h" |
50 #include "store-buffer.h" | 51 #include "store-buffer.h" |
51 #include "utils/random-number-generator.h" | 52 #include "utils/random-number-generator.h" |
52 #include "utils.h" | 53 #include "utils.h" |
53 #include "v8conversions.h" | |
54 #include "v8threads.h" | 54 #include "v8threads.h" |
55 #include "vm-state-inl.h" | 55 #include "vm-state-inl.h" |
56 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP | 56 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
57 #include "regexp-macro-assembler.h" | 57 #include "regexp-macro-assembler.h" |
58 #include "arm/regexp-macro-assembler-arm.h" | 58 #include "arm/regexp-macro-assembler-arm.h" |
59 #endif | 59 #endif |
60 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP | 60 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP |
61 #include "regexp-macro-assembler.h" | 61 #include "regexp-macro-assembler.h" |
62 #include "mips/regexp-macro-assembler-mips.h" | 62 #include "mips/regexp-macro-assembler-mips.h" |
63 #endif | 63 #endif |
(...skipping 6569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6633 static_cast<int>(object_sizes_last_time_[index])); | 6633 static_cast<int>(object_sizes_last_time_[index])); |
6634 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) | 6634 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) |
6635 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 6635 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
6636 | 6636 |
6637 OS::MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 6637 OS::MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
6638 OS::MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 6638 OS::MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
6639 ClearObjectStats(); | 6639 ClearObjectStats(); |
6640 } | 6640 } |
6641 | 6641 |
6642 } } // namespace v8::internal | 6642 } } // namespace v8::internal |
OLD | NEW |