Index: src/allocation.cc |
diff --git a/src/allocation.cc b/src/allocation.cc |
index 2af6730b27b50a663d8b35393c0e6f9b025a0db3..b5aa98416b6d917eabafe1bf670da1f14bb27d08 100644 |
--- a/src/allocation.cc |
+++ b/src/allocation.cc |
@@ -83,7 +83,7 @@ char* StrNDup(const char* str, int n) { |
void* AlignedAlloc(size_t size, size_t alignment) { |
- ASSERT(IsPowerOf2(alignment) && alignment >= V8_ALIGNOF(void*)); // NOLINT |
+ DCHECK(IsPowerOf2(alignment) && alignment >= V8_ALIGNOF(void*)); // NOLINT |
void* ptr; |
#if V8_OS_WIN |
ptr = _aligned_malloc(size, alignment); |