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

Side by Side Diff: src/heap/store-buffer.cc

Issue 1374203002: [heap] No leakage of incremental-marking.h outside of heap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « src/heap/memory-reducer.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/heap/memory-reducer.cc ('k') | test/cctest/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698