| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/heap/store-buffer.h" | 5 #include "src/heap/store-buffer.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "src/counters.h" | 9 #include "src/counters.h" |
| 10 #include "src/heap/incremental-marking.h" |
| 10 #include "src/heap/store-buffer-inl.h" | 11 #include "src/heap/store-buffer-inl.h" |
| 11 #include "src/isolate.h" | 12 #include "src/isolate.h" |
| 12 #include "src/objects-inl.h" | 13 #include "src/objects-inl.h" |
| 13 #include "src/v8.h" | 14 #include "src/v8.h" |
| 14 | 15 |
| 15 namespace v8 { | 16 namespace v8 { |
| 16 namespace internal { | 17 namespace internal { |
| 17 | 18 |
| 18 StoreBuffer::StoreBuffer(Heap* heap) | 19 StoreBuffer::StoreBuffer(Heap* heap) |
| 19 : heap_(heap), | 20 : heap_(heap), |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 DCHECK(start_of_current_page_ != store_buffer_->Top()); | 641 DCHECK(start_of_current_page_ != store_buffer_->Top()); |
| 641 store_buffer_->SetTop(start_of_current_page_); | 642 store_buffer_->SetTop(start_of_current_page_); |
| 642 } | 643 } |
| 643 } else { | 644 } else { |
| 644 UNREACHABLE(); | 645 UNREACHABLE(); |
| 645 } | 646 } |
| 646 } | 647 } |
| 647 | 648 |
| 648 } // namespace internal | 649 } // namespace internal |
| 649 } // namespace v8 | 650 } // namespace v8 |
| OLD | NEW |