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

Unified Diff: src/spaces.cc

Issue 416403011: Fix bogus assert in HeapIterator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « src/spaces.h ('k') | src/store-buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index 82b30f40c802b982fd168eedbb0cb6530b658fd8..4826ef0eb4a9549c4827eeb0efed743dba928851 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -58,7 +58,7 @@ HeapObjectIterator::HeapObjectIterator(Page* page,
page->area_end(),
kOnePageOnly,
size_func);
- ASSERT(page->WasSweptPrecisely());
+ ASSERT(page->WasSweptPrecisely() || page->SweepingCompleted());
}
« no previous file with comments | « src/spaces.h ('k') | src/store-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698