Index: src/ic/stub-cache.cc |
diff --git a/src/ic/stub-cache.cc b/src/ic/stub-cache.cc |
index e63fbfe9e50c1991056e3e69ce70dcc01742b7a2..35a4acf8cc3a73bf50e1f665cba9a8baa230b15b 100644 |
--- a/src/ic/stub-cache.cc |
+++ b/src/ic/stub-cache.cc |
@@ -4,6 +4,7 @@ |
#include "src/v8.h" |
+#include "src/base/bits.h" |
#include "src/ic/stub-cache.h" |
#include "src/type-info.h" |
@@ -15,8 +16,8 @@ StubCache::StubCache(Isolate* isolate) : isolate_(isolate) {} |
void StubCache::Initialize() { |
- DCHECK(IsPowerOf2(kPrimaryTableSize)); |
- DCHECK(IsPowerOf2(kSecondaryTableSize)); |
+ DCHECK(base::bits::IsPowerOfTwo32(kPrimaryTableSize)); |
+ DCHECK(base::bits::IsPowerOfTwo32(kSecondaryTableSize)); |
Clear(); |
} |