Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index d15e4b1e7c92620e03dfef0b7dd1d54095c42702..f1e5dfb670c958e25b907696356596d2f90d2d17 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -37,6 +37,7 @@ |
#if V8_TARGET_ARCH_MIPS |
+#include "src/base/bits.h" |
#include "src/base/cpu.h" |
#include "src/mips/assembler-mips-inl.h" |
#include "src/serialize.h" |
@@ -339,7 +340,7 @@ void Assembler::GetCode(CodeDesc* desc) { |
void Assembler::Align(int m) { |
- DCHECK(m >= 4 && IsPowerOf2(m)); |
+ DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); |
while ((pc_offset() & (m - 1)) != 0) { |
nop(); |
} |