Index: src/spaces-inl.h |
diff --git a/src/spaces-inl.h b/src/spaces-inl.h |
index fbb26732e5566493c62fc034abc73c647814563f..26214a3a6be9b1a859e17e9ccc1abd449b8f6b93 100644 |
--- a/src/spaces-inl.h |
+++ b/src/spaces-inl.h |
@@ -440,7 +440,7 @@ Object* PagedSpace::AllocateRaw(int size_in_bytes) { |
object = SlowAllocateRaw(size_in_bytes); |
if (object != NULL) return object; |
- return Failure::RetryAfterGC(size_in_bytes, identity()); |
+ return Failure::RetryAfterGC(identity()); |
} |
@@ -454,7 +454,7 @@ Object* PagedSpace::MCAllocateRaw(int size_in_bytes) { |
object = SlowMCAllocateRaw(size_in_bytes); |
if (object != NULL) return object; |
- return Failure::RetryAfterGC(size_in_bytes, identity()); |
+ return Failure::RetryAfterGC(identity()); |
} |
@@ -475,7 +475,7 @@ HeapObject* LargeObjectChunk::GetObject() { |
Object* NewSpace::AllocateRawInternal(int size_in_bytes, |
AllocationInfo* alloc_info) { |
Address new_top = alloc_info->top + size_in_bytes; |
- if (new_top > alloc_info->limit) return Failure::RetryAfterGC(size_in_bytes); |
+ if (new_top > alloc_info->limit) return Failure::RetryAfterGC(); |
Object* obj = HeapObject::FromAddress(alloc_info->top); |
alloc_info->top = new_top; |