Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 9770dac91094a0004e7c5bf10a2335cc8c175cd3..d9bd7d5d6e328363a9610e3deef133c85e9b464f 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -6397,7 +6397,7 @@ int64_t Heap::PromotedExternalMemorySize() { |
void Heap::EnableInlineAllocation() { |
- ASSERT(inline_allocation_disabled_); |
+ if (!inline_allocation_disabled_) return; |
inline_allocation_disabled_ = false; |
// Update inline allocation limit for new space. |
@@ -6406,7 +6406,7 @@ void Heap::EnableInlineAllocation() { |
void Heap::DisableInlineAllocation() { |
- ASSERT(!inline_allocation_disabled_); |
+ if (inline_allocation_disabled_) return; |
inline_allocation_disabled_ = true; |
// Update inline allocation limit for new space. |