Commit 3bb1da0f authored by vegorov@chromium.org's avatar vegorov@chromium.org

Fix Win64 compilation problems introduced by r9932.

R=yangguo@chromium.org

Review URL: http://codereview.chromium.org/8505019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1b7f24e9
......@@ -1011,12 +1011,13 @@ void PromotionQueue::RelocateQueueHead() {
intptr_t* head_end =
Min(front_, reinterpret_cast<intptr_t*>(p->body_limit()));
int entries_count = (head_end - head_start) / kEntrySizeInWords;
int entries_count =
static_cast<int>(head_end - head_start) / kEntrySizeInWords;
emergency_stack_ = new List<Entry>(2 * entries_count);
while (head_start != head_end) {
int size = *(head_start++);
int size = static_cast<int>(*(head_start++));
HeapObject* obj = reinterpret_cast<HeapObject*>(*(head_start++));
emergency_stack_->Add(Entry(obj, size));
}
......
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