Index: runtime/vm/thread.cc |
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc |
index fe81e56cc89d1510ef7e99356e55036fd2fa62a2..ba6db93eacd7aeb166d49bbcbba0c59c8719d911 100644 |
--- a/runtime/vm/thread.cc |
+++ b/runtime/vm/thread.cc |
@@ -142,7 +142,7 @@ void Thread::StoreBufferBlockProcess(bool check_threshold) { |
void Thread::StoreBufferAddObject(RawObject* obj) { |
- store_buffer_block_->Add(obj); |
+ store_buffer_block_->Push(obj); |
if (store_buffer_block_->IsFull()) { |
StoreBufferBlockProcess(true); |
} |
@@ -150,7 +150,7 @@ void Thread::StoreBufferAddObject(RawObject* obj) { |
void Thread::StoreBufferAddObjectGC(RawObject* obj) { |
- store_buffer_block_->Add(obj); |
+ store_buffer_block_->Push(obj); |
if (store_buffer_block_->IsFull()) { |
StoreBufferBlockProcess(false); |
} |