Index: src/mips/regexp-macro-assembler-mips.cc |
diff --git a/src/mips/regexp-macro-assembler-mips.cc b/src/mips/regexp-macro-assembler-mips.cc |
index 2bc66ecd25ab505bed57f426abe6b5bc8415db91..6f985229297f7ee4be265ad9b35754216c600bf6 100644 |
--- a/src/mips/regexp-macro-assembler-mips.cc |
+++ b/src/mips/regexp-macro-assembler-mips.cc |
@@ -1046,7 +1046,7 @@ void RegExpMacroAssemblerMIPS::CallCheckStackGuardState(Register scratch) { |
// Align the stack pointer and save the original sp value on the stack. |
__ mov(scratch, sp); |
__ Subu(sp, sp, Operand(kPointerSize)); |
- DCHECK(IsPowerOf2(stack_alignment)); |
+ DCHECK(base::bits::IsPowerOfTwo32(stack_alignment)); |
__ And(sp, sp, Operand(-stack_alignment)); |
__ sw(scratch, MemOperand(sp)); |