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

Unified Diff: src/heap.cc

Issue 6312147: Fix some correctness issues with the store buffer shown up by... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 11 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 | src/store-buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.cc
===================================================================
--- src/heap.cc (revision 6616)
+++ src/heap.cc (working copy)
@@ -4125,8 +4125,8 @@
if (Heap::InNewSpace(*slot)) {
ASSERT(Heap::InToSpace(*slot));
ASSERT((*slot)->IsHeapObject());
- StoreBuffer::EnterDirectlyIntoStoreBuffer(
- reinterpret_cast<Address>(slot));
+ ASSERT(StoreBuffer::CellIsInStoreBuffer(
+ reinterpret_cast<Address>(slot)));
}
}
slot_address += kPointerSize;
@@ -4231,7 +4231,6 @@
end = page->CachedAllocationWatermark();
}
-
Address map_aligned_current = page->ObjectAreaStart();
ASSERT(map_aligned_current == MapStartAlign(map_aligned_current));
« no previous file with comments | « no previous file | src/store-buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698