Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 063f53b5f6bf7bf38409ec955a962c6c0c2f5046..6f52cc73b3e8d11902e131451e3fac8f5e3a72a0 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -6,6 +6,7 @@ |
#if V8_TARGET_ARCH_ARM64 |
+#include "src/base/bits.h" |
#include "src/bootstrapper.h" |
#include "src/codegen.h" |
#include "src/cpu-profiler.h" |
@@ -2059,7 +2060,7 @@ void MacroAssembler::CallCFunction(Register function, |
int sp_alignment = ActivationFrameAlignment(); |
// The ABI mandates at least 16-byte alignment. |
DCHECK(sp_alignment >= 16); |
- DCHECK(IsPowerOf2(sp_alignment)); |
+ DCHECK(base::bits::IsPowerOfTwo32(sp_alignment)); |
// The current stack pointer is a callee saved register, and is preserved |
// across the call. |