Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index e99ebd8caf1167115c3f6f970dc80cdbfa60fc2d..a0762a330658a864d75ffb4d2fd540439a0cc7d6 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -209,7 +209,9 @@ MaybeObject* Heap::CopyFixedDoubleArray(FixedDoubleArray* src) { |
MaybeObject* Heap::AllocateRaw(int size_in_bytes, |
AllocationSpace space, |
AllocationSpace retry_space) { |
- ASSERT(AllowHandleAllocation::IsAllowed() && gc_state_ == NOT_IN_GC); |
+ ASSERT(AllowHandleAllocation::IsAllowed()); |
+ ASSERT(AllowHeapAllocation::IsAllowed()); |
+ ASSERT(gc_state_ == NOT_IN_GC); |
ASSERT(space != NEW_SPACE || |
retry_space == OLD_POINTER_SPACE || |
retry_space == OLD_DATA_SPACE || |