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

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

Issue 14315005: Replace qsort with std::sort. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 7 years, 8 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/list-inl.h ('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 19 matching lines...) Expand all
30 30
31 #include "allocation.h" 31 #include "allocation.h"
32 #include "checks.h" 32 #include "checks.h"
33 #include "globals.h" 33 #include "globals.h"
34 #include "platform.h" 34 #include "platform.h"
35 #include "v8globals.h" 35 #include "v8globals.h"
36 36
37 namespace v8 { 37 namespace v8 {
38 namespace internal { 38 namespace internal {
39 39
40 class Page;
41 class PagedSpace;
40 class StoreBuffer; 42 class StoreBuffer;
41 43
42 typedef void (*ObjectSlotCallback)(HeapObject** from, HeapObject* to); 44 typedef void (*ObjectSlotCallback)(HeapObject** from, HeapObject* to);
43 45
44 typedef void (StoreBuffer::*RegionCallback)( 46 typedef void (StoreBuffer::*RegionCallback)(
45 Address start, Address end, ObjectSlotCallback slot_callback); 47 Address start, Address end, ObjectSlotCallback slot_callback);
46 48
47 // Used to implement the write barrier by collecting addresses of pointers 49 // Used to implement the write barrier by collecting addresses of pointers
48 // between spaces. 50 // between spaces.
49 class StoreBuffer { 51 class StoreBuffer {
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 } 246 }
245 247
246 private: 248 private:
247 StoreBuffer* store_buffer_; 249 StoreBuffer* store_buffer_;
248 bool stored_state_; 250 bool stored_state_;
249 }; 251 };
250 252
251 } } // namespace v8::internal 253 } } // namespace v8::internal
252 254
253 #endif // V8_STORE_BUFFER_H_ 255 #endif // V8_STORE_BUFFER_H_
OLDNEW
« no previous file with comments | « src/list-inl.h ('k') | src/store-buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698