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

Unified Diff: src/store-buffer-inl.h

Issue 5985012: Rename write buffers to store buffers. (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 | « src/store-buffer.cc ('k') | src/v8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/store-buffer-inl.h
===================================================================
--- src/store-buffer-inl.h (revision 6183)
+++ src/store-buffer-inl.h (working copy)
@@ -29,21 +29,21 @@
#define V8_WRITE_BARRIER_INL_H_
#include "v8.h"
-#include "write-buffer.h"
+#include "store-buffer.h"
namespace v8 {
namespace internal {
-Address WriteBuffer::TopAddress() {
- return reinterpret_cast<Address>(Heap::write_buffer_top_address());
+Address StoreBuffer::TopAddress() {
+ return reinterpret_cast<Address>(Heap::store_buffer_top_address());
}
-void WriteBuffer::Mark(Address addr) {
- Address* top = reinterpret_cast<Address*>(Heap::write_buffer_top());
+void StoreBuffer::Mark(Address addr) {
+ Address* top = reinterpret_cast<Address*>(Heap::store_buffer_top());
*top++ = addr;
- Heap::public_set_write_buffer_top(top);
- if ((reinterpret_cast<uintptr_t>(top) & kWriteBufferOverflowBit) != 0) {
+ Heap::public_set_store_buffer_top(top);
+ if ((reinterpret_cast<uintptr_t>(top) & kStoreBufferOverflowBit) != 0) {
ASSERT(top == limit_);
Compact();
} else {
« no previous file with comments | « src/store-buffer.cc ('k') | src/v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698