Index: vm/bitmap.cc |
=================================================================== |
--- vm/bitmap.cc (revision 5502) |
+++ vm/bitmap.cc (working copy) |
@@ -20,7 +20,7 @@ |
void BitmapBuilder::Set(intptr_t bit_offset, bool value) { |
while (!InRange(bit_offset)) { |
intptr_t new_size = size_in_bytes_ + kIncrementSizeInBytes; |
- ASSERT(new_size > size_in_bytes_); |
+ ASSERT(new_size > 0); |
uint8_t* new_bit_list = reinterpret_cast<uint8_t*>( |
Isolate::Current()->current_zone()->Allocate(new_size)); |
ASSERT(new_bit_list != NULL); |