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

Side by Side Diff: src/heap/store-buffer-inl.h

Issue 1285183010: Remove grab-bag includes of v8.h from everywhere. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Minor stylistic issue. Created 5 years, 4 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/store-buffer.cc ('k') | src/hydrogen.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 #ifndef V8_STORE_BUFFER_INL_H_ 5 #ifndef V8_STORE_BUFFER_INL_H_
6 #define V8_STORE_BUFFER_INL_H_ 6 #define V8_STORE_BUFFER_INL_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/heap/spaces-inl.h"
9 #include "src/heap/store-buffer.h" 10 #include "src/heap/store-buffer.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 14
14 Address StoreBuffer::TopAddress() { 15 Address StoreBuffer::TopAddress() {
15 return reinterpret_cast<Address>(heap_->store_buffer_top_address()); 16 return reinterpret_cast<Address>(heap_->store_buffer_top_address());
16 } 17 }
17 18
18 19
(...skipping 24 matching lines...) Expand all
43 DCHECK(callback_ != NULL); 44 DCHECK(callback_ != NULL);
44 (*callback_)(heap_, MemoryChunk::FromAnyPointerAddress(heap_, addr), 45 (*callback_)(heap_, MemoryChunk::FromAnyPointerAddress(heap_, addr),
45 kStoreBufferFullEvent); 46 kStoreBufferFullEvent);
46 } 47 }
47 } 48 }
48 } 49 }
49 } 50 }
50 } // namespace v8::internal 51 } // namespace v8::internal
51 52
52 #endif // V8_STORE_BUFFER_INL_H_ 53 #endif // V8_STORE_BUFFER_INL_H_
OLDNEW
« no previous file with comments | « src/heap/store-buffer.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698