| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 ObjectSlotCallback slot_callback); | 188 ObjectSlotCallback slot_callback); |
| 189 | 189 |
| 190 void FindPointersToNewSpaceOnPage( | 190 void FindPointersToNewSpaceOnPage( |
| 191 PagedSpace* space, | 191 PagedSpace* space, |
| 192 Page* page, | 192 Page* page, |
| 193 RegionCallback region_callback, | 193 RegionCallback region_callback, |
| 194 ObjectSlotCallback slot_callback); | 194 ObjectSlotCallback slot_callback); |
| 195 | 195 |
| 196 void IteratePointersInStoreBuffer(ObjectSlotCallback slot_callback); | 196 void IteratePointersInStoreBuffer(ObjectSlotCallback slot_callback); |
| 197 | 197 |
| 198 #ifdef DEBUG | 198 #ifdef VERIFY_HEAP |
| 199 void VerifyPointers(PagedSpace* space, RegionCallback region_callback); | 199 void VerifyPointers(PagedSpace* space, RegionCallback region_callback); |
| 200 void VerifyPointers(LargeObjectSpace* space); | 200 void VerifyPointers(LargeObjectSpace* space); |
| 201 #endif | 201 #endif |
| 202 | 202 |
| 203 friend class StoreBufferRebuildScope; | 203 friend class StoreBufferRebuildScope; |
| 204 friend class DontMoveStoreBufferEntriesScope; | 204 friend class DontMoveStoreBufferEntriesScope; |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 | 207 |
| 208 class StoreBufferRebuildScope { | 208 class StoreBufferRebuildScope { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 } | 246 } |
| 247 | 247 |
| 248 private: | 248 private: |
| 249 StoreBuffer* store_buffer_; | 249 StoreBuffer* store_buffer_; |
| 250 bool stored_state_; | 250 bool stored_state_; |
| 251 }; | 251 }; |
| 252 | 252 |
| 253 } } // namespace v8::internal | 253 } } // namespace v8::internal |
| 254 | 254 |
| 255 #endif // V8_STORE_BUFFER_H_ | 255 #endif // V8_STORE_BUFFER_H_ |
| OLD | NEW |