Index: src/x87/assembler-x87.cc |
diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc |
index 0e3ff25fa43c3e814a7b3e7a73db828d11fe9b16..8f9224915897871e5149d4ed469b37e5f5bbd0b9 100644 |
--- a/src/x87/assembler-x87.cc |
+++ b/src/x87/assembler-x87.cc |
@@ -38,6 +38,7 @@ |
#if V8_TARGET_ARCH_X87 |
+#include "src/base/bits.h" |
#include "src/base/cpu.h" |
#include "src/disassembler.h" |
#include "src/macro-assembler.h" |
@@ -266,7 +267,7 @@ void Assembler::GetCode(CodeDesc* desc) { |
void Assembler::Align(int m) { |
- DCHECK(IsPowerOf2(m)); |
+ DCHECK(base::bits::IsPowerOfTwo32(m)); |
int mask = m - 1; |
int addr = pc_offset(); |
Nop((m - (addr & mask)) & mask); |