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

Unified Diff: src/mark-compact.cc

Issue 7044082: Minor cleanup of StoreBuffer related heap iteration methods. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 6 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/heap.cc ('k') | src/spaces.h » ('j') | src/store-buffer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index 11d76213a7b87cdc2524964fdd693fc53ec84116..d9787ace0dc95bfcbdd3eb0cdf0b5237f9f08cf7 100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -2003,10 +2003,6 @@ static void UpdatePointerToNewGen(HeapObject** p, HeapObject* object) {
// the store buffer which we are rebuilding.
if (new_addr != NULL) {
*p = HeapObject::FromAddress(new_addr);
- if (HEAP->InNewSpace(new_addr)) {
- HEAP->store_buffer()->
- EnterDirectlyIntoStoreBuffer(reinterpret_cast<Address>(p));
- }
} else {
// We have to zap this pointer, because the store buffer may overflow later,
// and then we have to scan the entire heap and we don't want to find
« no previous file with comments | « src/heap.cc ('k') | src/spaces.h » ('j') | src/store-buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698