OLD | NEW |
1 // Copyright (c) 2012, 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_BASE_ISOLATE_H_ | 5 #ifndef VM_BASE_ISOLATE_H_ |
6 #define VM_BASE_ISOLATE_H_ | 6 #define VM_BASE_ISOLATE_H_ |
7 | 7 |
| 8 #include "platform/assert.h" |
8 #include "vm/globals.h" | 9 #include "vm/globals.h" |
9 | 10 |
10 namespace dart { | 11 namespace dart { |
11 | 12 |
12 class HandleScope; | 13 class HandleScope; |
13 class StackResource; | 14 class StackResource; |
14 class Zone; | 15 class Zone; |
15 | 16 |
16 // A BaseIsolate contains just enough functionality to allocate | 17 // A BaseIsolate contains just enough functionality to allocate |
17 // StackResources. This allows us to inline the StackResource | 18 // StackResources. This allows us to inline the StackResource |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 #endif | 130 #endif |
130 int32_t no_callback_scope_depth_; | 131 int32_t no_callback_scope_depth_; |
131 | 132 |
132 private: | 133 private: |
133 DISALLOW_COPY_AND_ASSIGN(BaseIsolate); | 134 DISALLOW_COPY_AND_ASSIGN(BaseIsolate); |
134 }; | 135 }; |
135 | 136 |
136 } // namespace dart | 137 } // namespace dart |
137 | 138 |
138 #endif // VM_BASE_ISOLATE_H_ | 139 #endif // VM_BASE_ISOLATE_H_ |
OLD | NEW |