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

Unified Diff: src/assembler.cc

Issue 5826004: Add a write buffer, aligned so that a single bit tells us whether it has... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years 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/assembler.cc
===================================================================
--- src/assembler.cc (revision 6011)
+++ src/assembler.cc (working copy)
@@ -47,6 +47,7 @@
#include "ast.h"
#include "regexp-macro-assembler.h"
#include "platform.h"
+#include "write-buffer.h"
// Include native regexp-macro-assembler.
#ifndef V8_INTERPRETED_REGEXP
#if V8_TARGET_ARCH_IA32
@@ -671,6 +672,11 @@
}
+ExternalReference ExternalReference::write_buffer_top() {
+ return ExternalReference(WriteBuffer::Top());
+}
+
+
ExternalReference ExternalReference::new_space_mask() {
return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask()));
}

Powered by Google App Engine
This is Rietveld 408576698