Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 1ddc69dde02730f13da35dcb2cfa11694d9bc918..527df6e3d753cf9386839413d78dc5f9a610447b 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -318,7 +318,7 @@ MUST_USE_RESULT static MaybeObject* CopyDoubleToObjectElements( |
// that no GC is triggered, allocate HeapNumbers from old space if they |
// can't be taken from new space. |
if (!maybe_value->ToObject(&value)) { |
- ASSERT(maybe_value->IsRetryAfterGC() || maybe_value->IsOutOfMemory()); |
+ ASSERT(maybe_value->IsRetryAfterGC()); |
Heap* heap = from->GetHeap(); |
MaybeObject* maybe_value_object = |
heap->AllocateHeapNumber(from->get_scalar(i + from_start), |