Commit 56cff630 authored by danno@chromium.org's avatar danno@chromium.org

Fix Win64 build

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10790030

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12106 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent d8c7a03a
...@@ -7209,15 +7209,17 @@ void Heap::CheckpointObjectStats() { ...@@ -7209,15 +7209,17 @@ void Heap::CheckpointObjectStats() {
static_cast<int>(object_sizes_last_time_[name])); static_cast<int>(object_sizes_last_time_[name]));
INSTANCE_TYPE_LIST(ADJUST_LAST_TIME_OBJECT_COUNT) INSTANCE_TYPE_LIST(ADJUST_LAST_TIME_OBJECT_COUNT)
#undef ADJUST_LAST_TIME_OBJECT_COUNT #undef ADJUST_LAST_TIME_OBJECT_COUNT
#define ADJUST_LAST_TIME_OBJECT_COUNT(name) \ int index;
counters->count_of_CODE_TYPE_##name()->Increment( \ #define ADJUST_LAST_TIME_OBJECT_COUNT(name) \
object_counts_[FIRST_CODE_KIND_SUB_TYPE + Code::name]); \ index = FIRST_CODE_KIND_SUB_TYPE + Code::name; \
counters->count_of_CODE_TYPE_##name()->Decrement( \ counters->count_of_CODE_TYPE_##name()->Increment( \
object_counts_last_time_[FIRST_CODE_KIND_SUB_TYPE + Code::name]); \ static_cast<int>(object_counts_[index])); \
counters->size_of_CODE_TYPE_##name()->Increment( \ counters->count_of_CODE_TYPE_##name()->Decrement( \
object_sizes_[FIRST_CODE_KIND_SUB_TYPE + Code::name]); \ static_cast<int>(object_counts_last_time_[index])); \
counters->size_of_CODE_TYPE_##name()->Decrement( \ counters->size_of_CODE_TYPE_##name()->Increment( \
object_sizes_last_time_[FIRST_CODE_KIND_SUB_TYPE + Code::name]); static_cast<int>(object_sizes_[index])); \
counters->size_of_CODE_TYPE_##name()->Decrement( \
static_cast<int>(object_sizes_last_time_[index]));
CODE_KIND_LIST(ADJUST_LAST_TIME_OBJECT_COUNT) CODE_KIND_LIST(ADJUST_LAST_TIME_OBJECT_COUNT)
#undef ADJUST_LAST_TIME_OBJECT_COUNT #undef ADJUST_LAST_TIME_OBJECT_COUNT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment