Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 31355b686539571edf40ee478c0413ff93fd6a67..d6fef018048e4f544f495f1d004406101ad41c6d 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1159,7 +1159,7 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
if (FLAG_debug_code) { |
if (frame_alignment > kPointerSize) { |
Label alignment_as_expected; |
- DCHECK(IsPowerOf2(frame_alignment)); |
+ DCHECK(base::bits::IsPowerOfTwo32(frame_alignment)); |
__ tst(sp, Operand(frame_alignment_mask)); |
__ b(eq, &alignment_as_expected); |
// Don't use Check here, as it will call Runtime_Abort re-entering here. |