| OLD | NEW |
| 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 |
| 11 // Clients of this interface shouldn't depend on lots of heap internals. | 11 // Clients of this interface shouldn't depend on lots of heap internals. |
| 12 // Do not include anything from src/heap here! | 12 // Do not include anything from src/heap here! |
| 13 #include "include/v8.h" | 13 #include "include/v8.h" |
| 14 #include "src/allocation.h" | 14 #include "src/allocation.h" |
| 15 #include "src/assert-scope.h" | 15 #include "src/assert-scope.h" |
| 16 #include "src/atomic-utils.h" | 16 #include "src/base/atomic-utils.h" |
| 17 #include "src/globals.h" | 17 #include "src/globals.h" |
| 18 #include "src/heap-symbols.h" | 18 #include "src/heap-symbols.h" |
| 19 // TODO(mstarzinger): Two more includes to kill! | 19 // TODO(mstarzinger): Two more includes to kill! |
| 20 #include "src/heap/spaces.h" | 20 #include "src/heap/spaces.h" |
| 21 #include "src/heap/store-buffer.h" | 21 #include "src/heap/store-buffer.h" |
| 22 #include "src/list.h" | 22 #include "src/list.h" |
| 23 | 23 |
| 24 namespace v8 { | 24 namespace v8 { |
| 25 namespace internal { | 25 namespace internal { |
| 26 | 26 |
| (...skipping 2617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2644 friend class LargeObjectSpace; | 2644 friend class LargeObjectSpace; |
| 2645 friend class NewSpace; | 2645 friend class NewSpace; |
| 2646 friend class PagedSpace; | 2646 friend class PagedSpace; |
| 2647 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); | 2647 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); |
| 2648 }; | 2648 }; |
| 2649 | 2649 |
| 2650 } // namespace internal | 2650 } // namespace internal |
| 2651 } // namespace v8 | 2651 } // namespace v8 |
| 2652 | 2652 |
| 2653 #endif // V8_HEAP_HEAP_H_ | 2653 #endif // V8_HEAP_HEAP_H_ |
| OLD | NEW |