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