Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index a4e77ff5561aeed691c5a7d055770cb91fb01d0b..01c0a4960ec66036abdc6754ce4cbbeeec80eba8 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -1501,7 +1501,7 @@ Code* InnerPointerToCodeCache::GcSafeFindCodeForInnerPointer( |
InnerPointerToCodeCache::InnerPointerToCodeCacheEntry* |
InnerPointerToCodeCache::GetCacheEntry(Address inner_pointer) { |
isolate_->counters()->pc_to_code()->Increment(); |
- DCHECK(IsPowerOf2(kInnerPointerToCodeCacheSize)); |
+ DCHECK(base::bits::IsPowerOfTwo32(kInnerPointerToCodeCacheSize)); |
uint32_t hash = ComputeIntegerHash( |
static_cast<uint32_t>(reinterpret_cast<uintptr_t>(inner_pointer)), |
v8::internal::kZeroHashSeed); |