Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index f3c2eb0abb0134f9f96da51d2d52960c088fcd69..827f3abb607a9ec7e8a82d58de548bd3e83c37e8 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2618,7 +2618,7 @@ HeapObject* PagedSpace::SlowAllocateRaw(int size_in_bytes) { |
// If sweeper threads are active, wait for them at that point and steal |
// elements form their free-lists. |
HeapObject* object = WaitForSweeperThreadsAndRetryAllocation(size_in_bytes); |
- if (object != NULL) return object; |
+ return object; |
} |
// Try to expand the space and allocate in the new next page. |