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

Unified Diff: src/objects-inl.h

Issue 6309012: * Complete new store buffer on ia32. The store buffer now covers... (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
Index: src/objects-inl.h
===================================================================
--- src/objects-inl.h (revision 6183)
+++ src/objects-inl.h (working copy)
@@ -795,7 +795,6 @@
#define WRITE_BARRIER(object, offset) \
Heap::RecordWrite(object->address(), offset);
-#ifdef ENABLE_CARDMARKING_WRITE_BARRIER
// CONDITIONAL_WRITE_BARRIER must be issued after the actual
// write due to the assert validating the written value.
#define CONDITIONAL_WRITE_BARRIER(object, offset, mode) \
@@ -804,13 +803,8 @@
} else { \
ASSERT(mode == SKIP_WRITE_BARRIER); \
ASSERT(Heap::InNewSpace(object) || \
- !Heap::InNewSpace(READ_FIELD(object, offset)) || \
Vyacheslav Egorov (Chromium) 2011/01/21 18:18:18 This check was here for some reason. Somewhere in
Erik Corry 2011/01/24 13:56:00 Done.
- Page::FromAddress(object->address())-> \
- IsRegionDirty(object->address() + offset)); \
+ !Heap::InNewSpace(READ_FIELD(object, offset))); \
}
-#else
-#define CONDITIONAL_WRITE_BARRIER(object, offset, mode)
-#endif
#define READ_DOUBLE_FIELD(p, offset) \
(*reinterpret_cast<double*>(FIELD_ADDR(p, offset)))

Powered by Google App Engine
This is Rietveld 408576698