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

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

Issue 11118018: Enable --verify-heap in release mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/spaces.cc ('k') | src/store-buffer.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 // 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
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
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_
OLDNEW
« no previous file with comments | « src/spaces.cc ('k') | src/store-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698