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

Unified Diff: src/spaces.cc

Issue 7979005: Fixed an assertion in PagedSpace::Verify. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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: src/spaces.cc
===================================================================
--- src/spaces.cc (revision 9346)
+++ src/spaces.cc (working copy)
@@ -785,7 +785,7 @@
if (was_swept_conservatively_) return;
bool allocation_pointer_found_in_space =
- (allocation_info_.top != allocation_info_.limit);
+ (allocation_info_.top == allocation_info_.limit);
PageIterator page_iterator(this);
while (page_iterator.has_next()) {
Page* page = page_iterator.next();
@@ -826,6 +826,7 @@
CHECK_LE(black_size, page->LiveBytes());
}
+ ASSERT(allocation_pointer_found_in_space);
}
#endif
« 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