Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: vm/bitmap.cc

Issue 9703047: Fix build break. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698