5 #ifndef V8_HEAP_STORE_BUFFER_INL_H_ 6 #define V8_HEAP_STORE_BUFFER_INL_H_ 8 #include "src/heap/store-buffer.h" 10 #include "src/heap/heap-inl.h" 15 void StoreBuffer::InsertDeletionIntoStoreBuffer(Address start, Address end) {
16 if (top_ +
sizeof(Address) * 2 > limit_[current_]) {
17 StoreBufferOverflow(heap_->isolate());
19 *top_ = MarkDeletionAddress(start);
25 void StoreBuffer::InsertIntoStoreBuffer(Address slot) {
26 if (top_ +
sizeof(Address) > limit_[current_]) {
27 StoreBufferOverflow(heap_->isolate());
36 #endif // V8_HEAP_STORE_BUFFER_INL_H_