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

Unified Diff: src/mark-compact.h

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 8 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/mark-compact.h
===================================================================
--- src/mark-compact.h (revision 7619)
+++ src/mark-compact.h (working copy)
@@ -75,6 +75,11 @@
}
}
+ // For embedding in generated code.
+ static inline Address new_space_bitmap() {
+ return reinterpret_cast<Address>(new_space_bitmap_);
+ }
+
static void ClearRange(Address addr, int size) {
if (Heap::InNewSpace(addr)) {
uint32_t index = Heap::new_space()->AddressToMarkbitIndex(addr);
« src/ia32/code-stubs-ia32.h ('K') | « src/incremental-marking.cc ('k') | src/serialize.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698