Index: src/spaces.h |
diff --git a/src/spaces.h b/src/spaces.h |
index 0c10d2c77952a9bd8ad8875883858b62dcadb578..69c52cc326a51d7e95c869bc922c4d4b018fbce9 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_; |
} |