Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 92ec283350fd515c9aa7f46ecb3a41fd79b097b1..10658bdf0b9823821ca3d561c95dd76e168d1471 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13914,7 +13914,7 @@ MaybeObject* HashTable<Shape, Key>::Allocate(Heap* heap, |
int at_least_space_for, |
MinimumCapacity capacity_option, |
PretenureFlag pretenure) { |
- ASSERT(!capacity_option || IS_POWER_OF_TWO(at_least_space_for)); |
+ ASSERT(!capacity_option || IsPowerOf2(at_least_space_for)); |
int capacity = (capacity_option == USE_CUSTOM_MINIMUM_CAPACITY) |
? at_least_space_for |
: ComputeCapacity(at_least_space_for); |