| 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 "v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "api.h" | 8 #include "src/api.h" |
| 9 #include "bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "codegen.h" | 10 #include "src/codegen.h" |
| 11 #include "compilation-cache.h" | 11 #include "src/compilation-cache.h" |
| 12 #include "conversions.h" | 12 #include "src/conversions.h" |
| 13 #include "cpu-profiler.h" | 13 #include "src/cpu-profiler.h" |
| 14 #include "debug.h" | 14 #include "src/debug.h" |
| 15 #include "deoptimizer.h" | 15 #include "src/deoptimizer.h" |
| 16 #include "global-handles.h" | 16 #include "src/global-handles.h" |
| 17 #include "heap-profiler.h" | 17 #include "src/heap-profiler.h" |
| 18 #include "incremental-marking.h" | 18 #include "src/incremental-marking.h" |
| 19 #include "isolate-inl.h" | 19 #include "src/isolate-inl.h" |
| 20 #include "mark-compact.h" | 20 #include "src/mark-compact.h" |
| 21 #include "natives.h" | 21 #include "src/natives.h" |
| 22 #include "objects-visiting.h" | 22 #include "src/objects-visiting.h" |
| 23 #include "objects-visiting-inl.h" | 23 #include "src/objects-visiting-inl.h" |
| 24 #include "once.h" | 24 #include "src/once.h" |
| 25 #include "runtime-profiler.h" | 25 #include "src/runtime-profiler.h" |
| 26 #include "scopeinfo.h" | 26 #include "src/scopeinfo.h" |
| 27 #include "snapshot.h" | 27 #include "src/snapshot.h" |
| 28 #include "store-buffer.h" | 28 #include "src/store-buffer.h" |
| 29 #include "utils/random-number-generator.h" | 29 #include "src/utils/random-number-generator.h" |
| 30 #include "utils.h" | 30 #include "src/utils.h" |
| 31 #include "v8threads.h" | 31 #include "src/v8threads.h" |
| 32 #include "vm-state-inl.h" | 32 #include "src/vm-state-inl.h" |
| 33 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP | 33 #if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
| 34 #include "regexp-macro-assembler.h" | 34 #include "src/regexp-macro-assembler.h" |
| 35 #include "arm/regexp-macro-assembler-arm.h" | 35 #include "src/arm/regexp-macro-assembler-arm.h" |
| 36 #endif | 36 #endif |
| 37 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP | 37 #if V8_TARGET_ARCH_MIPS && !V8_INTERPRETED_REGEXP |
| 38 #include "regexp-macro-assembler.h" | 38 #include "src/regexp-macro-assembler.h" |
| 39 #include "mips/regexp-macro-assembler-mips.h" | 39 #include "src/mips/regexp-macro-assembler-mips.h" |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 namespace v8 { | 42 namespace v8 { |
| 43 namespace internal { | 43 namespace internal { |
| 44 | 44 |
| 45 | 45 |
| 46 Heap::Heap() | 46 Heap::Heap() |
| 47 : isolate_(NULL), | 47 : isolate_(NULL), |
| 48 code_range_size_(0), | 48 code_range_size_(0), |
| 49 // semispace_size_ should be a power of 2 and old_generation_size_ should be | 49 // semispace_size_ should be a power of 2 and old_generation_size_ should be |
| (...skipping 6367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6417 static_cast<int>(object_sizes_last_time_[index])); | 6417 static_cast<int>(object_sizes_last_time_[index])); |
| 6418 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) | 6418 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) |
| 6419 #undef ADJUST_LAST_TIME_OBJECT_COUNT | 6419 #undef ADJUST_LAST_TIME_OBJECT_COUNT |
| 6420 | 6420 |
| 6421 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); | 6421 MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); |
| 6422 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); | 6422 MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); |
| 6423 ClearObjectStats(); | 6423 ClearObjectStats(); |
| 6424 } | 6424 } |
| 6425 | 6425 |
| 6426 } } // namespace v8::internal | 6426 } } // namespace v8::internal |
| OLD | NEW |