OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef VM_HEAP_H_ | 5 #ifndef VM_HEAP_H_ |
6 #define VM_HEAP_H_ | 6 #define VM_HEAP_H_ |
7 | 7 |
| 8 #include "platform/assert.h" |
8 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
9 #include "vm/assert.h" | |
10 #include "vm/flags.h" | 10 #include "vm/flags.h" |
11 #include "vm/globals.h" | 11 #include "vm/globals.h" |
12 #include "vm/pages.h" | 12 #include "vm/pages.h" |
13 #include "vm/scavenger.h" | 13 #include "vm/scavenger.h" |
14 | 14 |
15 namespace dart { | 15 namespace dart { |
16 | 16 |
17 // Forward declarations. | 17 // Forward declarations. |
18 class Isolate; | 18 class Isolate; |
19 class ObjectPointerVisitor; | 19 class ObjectPointerVisitor; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 public: | 122 public: |
123 NoGCScope() {} | 123 NoGCScope() {} |
124 private: | 124 private: |
125 DISALLOW_COPY_AND_ASSIGN(NoGCScope); | 125 DISALLOW_COPY_AND_ASSIGN(NoGCScope); |
126 }; | 126 }; |
127 #endif // defined(DEBUG) | 127 #endif // defined(DEBUG) |
128 | 128 |
129 } // namespace dart | 129 } // namespace dart |
130 | 130 |
131 #endif // VM_HEAP_H_ | 131 #endif // VM_HEAP_H_ |
OLD | NEW |