Index: src/spaces-inl.h |
=================================================================== |
--- src/spaces-inl.h (revision 546) |
+++ src/spaces-inl.h (working copy) |
@@ -300,9 +300,7 @@ |
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, identity()); |
- } |
+ if (new_top > alloc_info->limit) return Failure::RetryAfterGC(size_in_bytes); |
Object* obj = HeapObject::FromAddress(alloc_info->top); |
alloc_info->top = new_top; |