Index: src/allocation.cc |
diff --git a/src/allocation.cc b/src/allocation.cc |
index cae1c102515c1bdcf9b2ef253907e3000d475680..96fd71f11bd3d55be11d7f157ee885e838c430be 100644 |
--- a/src/allocation.cc |
+++ b/src/allocation.cc |
@@ -85,7 +85,7 @@ char* StrNDup(const char* str, int n) { |
void* AlignedAlloc(size_t size, size_t alignment) { |
DCHECK_LE(V8_ALIGNOF(void*), alignment); |
- DCHECK(base::bits::IsPowerOfTwo32(alignment)); |
+ DCHECK(base::bits::IsPowerOfTwo64(alignment)); |
void* ptr; |
#if V8_OS_WIN |
ptr = _aligned_malloc(size, alignment); |