Index: src/mips64/regexp-macro-assembler-mips64.cc |
diff --git a/src/mips64/regexp-macro-assembler-mips64.cc b/src/mips64/regexp-macro-assembler-mips64.cc |
index bcd133424b740860839460a046d6a4c084485dea..578a3adb7c58edf3d516023cfad7167bcb4f1437 100644 |
--- a/src/mips64/regexp-macro-assembler-mips64.cc |
+++ b/src/mips64/regexp-macro-assembler-mips64.cc |
@@ -1092,7 +1092,7 @@ void RegExpMacroAssemblerMIPS::CallCheckStackGuardState(Register scratch) { |
// Align the stack pointer and save the original sp value on the stack. |
__ mov(scratch, sp); |
__ Dsubu(sp, sp, Operand(kPointerSize)); |
- DCHECK(IsPowerOf2(stack_alignment)); |
+ DCHECK(base::bits::IsPowerOfTwo32(stack_alignment)); |
__ And(sp, sp, Operand(-stack_alignment)); |
__ sd(scratch, MemOperand(sp)); |