Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 349583c5d2fc61d39d738ea3db8a7fdfef568a89..90b42efb364467719cd566b04d0eb46ff30b5b33 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -3140,7 +3140,7 @@ void StringCharFromCodeGenerator::GenerateFast(MacroAssembler* masm) { |
DCHECK(!a4.is(code_)); |
STATIC_ASSERT(kSmiTag == 0); |
- DCHECK(IsPowerOf2(String::kMaxOneByteCharCode + 1)); |
+ DCHECK(base::bits::IsPowerOfTwo32(String::kMaxOneByteCharCode + 1)); |
__ And(a4, |
code_, |
Operand(kSmiTagMask | |
@@ -4650,7 +4650,7 @@ void ProfileEntryHookStub::Generate(MacroAssembler* masm) { |
int frame_alignment = masm->ActivationFrameAlignment(); |
if (frame_alignment > kPointerSize) { |
__ mov(s5, sp); |
- DCHECK(IsPowerOf2(frame_alignment)); |
+ DCHECK(base::bits::IsPowerOfTwo32(frame_alignment)); |
__ And(sp, sp, Operand(-frame_alignment)); |
} |