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

Side by Side Diff: src/heap/heap.h

Issue 2356703003: Revert of [d8] Fix the shared-library build (Closed)
Patch Set: Created 4 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
« no previous file with comments | « src/globals.h ('k') | src/heap/incremental-marking.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 Space* next(); 2410 Space* next();
2411 2411
2412 private: 2412 private:
2413 Heap* heap_; 2413 Heap* heap_;
2414 int counter_; 2414 int counter_;
2415 }; 2415 };
2416 2416
2417 2417
2418 // Space iterator for iterating over all old spaces of the heap: Old space 2418 // Space iterator for iterating over all old spaces of the heap: Old space
2419 // and code space. Returns each space in turn, and null when it is done. 2419 // and code space. Returns each space in turn, and null when it is done.
2420 class V8_EXPORT_PRIVATE OldSpaces BASE_EMBEDDED { 2420 class OldSpaces BASE_EMBEDDED {
2421 public: 2421 public:
2422 explicit OldSpaces(Heap* heap) : heap_(heap), counter_(OLD_SPACE) {} 2422 explicit OldSpaces(Heap* heap) : heap_(heap), counter_(OLD_SPACE) {}
2423 OldSpace* next(); 2423 OldSpace* next();
2424 2424
2425 private: 2425 private:
2426 Heap* heap_; 2426 Heap* heap_;
2427 int counter_; 2427 int counter_;
2428 }; 2428 };
2429 2429
2430 2430
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
2628 friend class LargeObjectSpace; 2628 friend class LargeObjectSpace;
2629 friend class NewSpace; 2629 friend class NewSpace;
2630 friend class PagedSpace; 2630 friend class PagedSpace;
2631 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2631 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2632 }; 2632 };
2633 2633
2634 } // namespace internal 2634 } // namespace internal
2635 } // namespace v8 2635 } // namespace v8
2636 2636
2637 #endif // V8_HEAP_HEAP_H_ 2637 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/heap/incremental-marking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698