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_OBJECT_H_ | 5 #ifndef VM_OBJECT_H_ |
6 #define VM_OBJECT_H_ | 6 #define VM_OBJECT_H_ |
7 | 7 |
| 8 #include "include/dart_api.h" |
8 #include "platform/assert.h" | 9 #include "platform/assert.h" |
9 #include "platform/utils.h" | 10 #include "platform/utils.h" |
10 #include "vm/dart.h" | 11 #include "vm/dart.h" |
11 #include "vm/globals.h" | 12 #include "vm/globals.h" |
12 #include "vm/handles.h" | 13 #include "vm/handles.h" |
13 #include "vm/heap.h" | 14 #include "vm/heap.h" |
14 #include "vm/isolate.h" | 15 #include "vm/isolate.h" |
15 #include "vm/os.h" | 16 #include "vm/os.h" |
16 #include "vm/raw_object.h" | 17 #include "vm/raw_object.h" |
17 #include "vm/scanner.h" | 18 #include "vm/scanner.h" |
18 | 19 |
19 #include "include/dart_api.h" | |
20 | |
21 namespace dart { | 20 namespace dart { |
22 | 21 |
23 // Forward declarations. | 22 // Forward declarations. |
24 #define DEFINE_FORWARD_DECLARATION(clazz) \ | 23 #define DEFINE_FORWARD_DECLARATION(clazz) \ |
25 class clazz; | 24 class clazz; |
26 CLASS_LIST(DEFINE_FORWARD_DECLARATION) | 25 CLASS_LIST(DEFINE_FORWARD_DECLARATION) |
27 #undef DEFINE_FORWARD_DECLARATION | 26 #undef DEFINE_FORWARD_DECLARATION |
28 class Assembler; | 27 class Assembler; |
29 class LocalScope; | 28 class LocalScope; |
30 | 29 |
(...skipping 3414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3445 } | 3444 } |
3446 | 3445 |
3447 | 3446 |
3448 void Context::SetAt(intptr_t index, const Instance& value) const { | 3447 void Context::SetAt(intptr_t index, const Instance& value) const { |
3449 StorePointer(InstanceAddr(index), value.raw()); | 3448 StorePointer(InstanceAddr(index), value.raw()); |
3450 } | 3449 } |
3451 | 3450 |
3452 } // namespace dart | 3451 } // namespace dart |
3453 | 3452 |
3454 #endif // VM_OBJECT_H_ | 3453 #endif // VM_OBJECT_H_ |
OLD | NEW |