Index: src/heap/heap-inl.h |
diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h |
index 1fc5a6a7fb66a28ccd70237d3074df67d1c7c42b..9499546850e55f5133daecb1286a52faadcdcb96 100644 |
--- a/src/heap/heap-inl.h |
+++ b/src/heap/heap-inl.h |
@@ -365,8 +365,6 @@ AllocationResult Heap::AllocateRaw(int size_in_bytes, AllocationSpace space, |
} |
if (allocation.To(&object)) { |
OnAllocationEvent(object, size_in_bytes); |
- } else { |
- old_gen_exhausted_ = true; |
} |
return allocation; |