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 #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 "store-buffer.h" | 8 #include "src/store-buffer.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 Address StoreBuffer::TopAddress() { | 13 Address StoreBuffer::TopAddress() { |
14 return reinterpret_cast<Address>(heap_->store_buffer_top_address()); | 14 return reinterpret_cast<Address>(heap_->store_buffer_top_address()); |
15 } | 15 } |
16 | 16 |
17 | 17 |
18 void StoreBuffer::Mark(Address addr) { | 18 void StoreBuffer::Mark(Address addr) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 Address& map_field = Memory::Address_at(object->address()); | 56 Address& map_field = Memory::Address_at(object->address()); |
57 if (heap_->map_space()->Contains(map_field)) { | 57 if (heap_->map_space()->Contains(map_field)) { |
58 map_field = NULL; | 58 map_field = NULL; |
59 } | 59 } |
60 } | 60 } |
61 | 61 |
62 | 62 |
63 } } // namespace v8::internal | 63 } } // namespace v8::internal |
64 | 64 |
65 #endif // V8_STORE_BUFFER_INL_H_ | 65 #endif // V8_STORE_BUFFER_INL_H_ |
OLD | NEW |