Fixed an assertion in PagedSpace::Verify.

The formerly unused variable was found by GCC 4.6.1, BTW...
Review URL: http://codereview.chromium.org/7979005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9347 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 86832d59
......@@ -785,7 +785,7 @@ void PagedSpace::Verify(ObjectVisitor* visitor) {
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 @@ void PagedSpace::Verify(ObjectVisitor* visitor) {
CHECK_LE(black_size, page->LiveBytes());
}
ASSERT(allocation_pointer_found_in_space);
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment