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/once.h" | 9 #include "src/base/once.h" |
10 #include "src/base/utils/random-number-generator.h" | 10 #include "src/base/utils/random-number-generator.h" |
(...skipping 21 matching lines...) Loading... |
32 #include "src/vm-state-inl.h" | 32 #include "src/vm-state-inl.h" |
33 | 33 |
34 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP | 34 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
35 #include "src/regexp-macro-assembler.h" // NOLINT | 35 #include "src/regexp-macro-assembler.h" // NOLINT |
36 #include "src/arm/regexp-macro-assembler-arm.h" // NOLINT | 36 #include "src/arm/regexp-macro-assembler-arm.h" // NOLINT |
37 #endif | 37 #endif |
38 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP | 38 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP |
39 #include "src/regexp-macro-assembler.h" // NOLINT | 39 #include "src/regexp-macro-assembler.h" // NOLINT |
40 #include "src/mips/regexp-macro-assembler-mips.h" // NOLINT | 40 #include "src/mips/regexp-macro-assembler-mips.h" // NOLINT |
41 #endif | 41 #endif |
| 42 #if V8_TARGET_ARCH_MIPS64 && !V8_INTERPRETED_REGEXP |
| 43 #include "src/regexp-macro-assembler.h" |
| 44 #include "src/mips64/regexp-macro-assembler-mips64.h" |
| 45 #endif |
42 | 46 |
43 namespace v8 { | 47 namespace v8 { |
44 namespace internal { | 48 namespace internal { |
45 | 49 |
46 | 50 |
47 Heap::Heap() | 51 Heap::Heap() |
48 : amount_of_external_allocated_memory_(0), | 52 : amount_of_external_allocated_memory_(0), |
49 amount_of_external_allocated_memory_at_last_global_gc_(0), | 53 amount_of_external_allocated_memory_at_last_global_gc_(0), |
50 isolate_(NULL), | 54 isolate_(NULL), |
51 code_range_size_(0), | 55 code_range_size_(0), |
(...skipping 6359 matching lines...) Loading... |
6411 static_cast<int>(object_sizes_last_time_[index])); | 6415 static_cast<int>(object_sizes_last_time_[index])); |
6412 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) | 6416 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) |
6413 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 6417 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
6414 | 6418 |
6415 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 6419 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
6416 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 6420 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
6417 ClearObjectStats(); | 6421 ClearObjectStats(); |
6418 } | 6422 } |
6419 | 6423 |
6420 } } // namespace v8::internal | 6424 } } // namespace v8::internal |
OLD | NEW |