From: antonm@chromium.org Date: Sat, 13 Nov 2010 15:00:24 +0000 (+0000) Subject: Fix Win64 build. X-Git-Tag: upstream/4.7.83~20962 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfeca9e0e637d17e6f149d1985260a2a6c4dc366;p=platform%2Fupstream%2Fv8.git Fix Win64 build. MemoryAllocator::AvailableExecutable should return intptr_t, the difference of intptr_t's. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/4972001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5818 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/spaces.h b/src/spaces.h index 0c10d2c..69c52cc 100644 --- a/src/spaces.h +++ b/src/spaces.h @@ -591,7 +591,7 @@ class MemoryAllocator : public AllStatic { static intptr_t Size() { return size_; } // Returns the maximum available executable bytes of heaps. - static int AvailableExecutable() { + static intptr_t AvailableExecutable() { if (capacity_executable_ < size_executable_) return 0; return capacity_executable_ - size_executable_; }