| 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_H_ | 5 #ifndef V8_STORE_BUFFER_H_ |
| 6 #define V8_STORE_BUFFER_H_ | 6 #define V8_STORE_BUFFER_H_ |
| 7 | 7 |
| 8 #include "allocation.h" | 8 #include "allocation.h" |
| 9 #include "checks.h" | 9 #include "checks.h" |
| 10 #include "globals.h" | 10 #include "globals.h" |
| 11 #include "platform.h" | 11 #include "platform.h" |
| 12 #include "v8globals.h" |
| 12 | 13 |
| 13 namespace v8 { | 14 namespace v8 { |
| 14 namespace internal { | 15 namespace internal { |
| 15 | 16 |
| 16 class Page; | 17 class Page; |
| 17 class PagedSpace; | 18 class PagedSpace; |
| 18 class StoreBuffer; | 19 class StoreBuffer; |
| 19 | 20 |
| 20 typedef void (*ObjectSlotCallback)(HeapObject** from, HeapObject* to); | 21 typedef void (*ObjectSlotCallback)(HeapObject** from, HeapObject* to); |
| 21 | 22 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 } | 230 } |
| 230 | 231 |
| 231 private: | 232 private: |
| 232 StoreBuffer* store_buffer_; | 233 StoreBuffer* store_buffer_; |
| 233 bool stored_state_; | 234 bool stored_state_; |
| 234 }; | 235 }; |
| 235 | 236 |
| 236 } } // namespace v8::internal | 237 } } // namespace v8::internal |
| 237 | 238 |
| 238 #endif // V8_STORE_BUFFER_H_ | 239 #endif // V8_STORE_BUFFER_H_ |
| OLD | NEW |