From 74b6f0f321fdc6fea7672c8c2cca3ec537bc8788 Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Fri, 1 Mar 2013 12:46:20 +0000 Subject: [PATCH] Fix Win64 compilation problem. BUG= Review URL: https://codereview.chromium.org/12379043 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13785 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/spaces.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spaces.h b/src/spaces.h index 02982cf..e7e11db 100644 --- a/src/spaces.h +++ b/src/spaces.h @@ -1745,7 +1745,7 @@ class PagedSpace : public Space { first_unswept_page_ = first; } - void IncrementUnsweptFreeBytes(int by) { + void IncrementUnsweptFreeBytes(intptr_t by) { unswept_free_bytes_ += by; } @@ -1754,7 +1754,7 @@ class PagedSpace : public Space { unswept_free_bytes_ += (p->area_size() - p->LiveBytes()); } - void DecrementUnsweptFreeBytes(int by) { + void DecrementUnsweptFreeBytes(intptr_t by) { unswept_free_bytes_ -= by; } -- 2.7.4