OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_STACK_FRAME_H_ | 5 #ifndef VM_STACK_FRAME_H_ |
6 #define VM_STACK_FRAME_H_ | 6 #define VM_STACK_FRAME_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/object.h" | 9 #include "vm/object.h" |
10 #include "vm/stub_code.h" | 10 #include "vm/stub_code.h" |
11 | 11 |
| 12 #if defined(TARGET_ARCH_IA32) |
| 13 #include "vm/stack_frame_ia32.h" |
| 14 #elif defined(TARGET_ARCH_X64) |
| 15 #include "vm/stack_frame_x64.h" |
| 16 #elif defined(TARGET_ARCH_ARM) |
| 17 #include "vm/stack_frame_arm.h" |
| 18 #elif defined(TARGET_ARCH_MIPS) |
| 19 #include "vm/stack_frame_mips.h" |
| 20 #else |
| 21 #error Unknown architecture. |
| 22 #endif |
| 23 |
12 namespace dart { | 24 namespace dart { |
13 | 25 |
14 // Forward declarations. | 26 // Forward declarations. |
15 class ObjectPointerVisitor; | 27 class ObjectPointerVisitor; |
16 class RawContext; | 28 class RawContext; |
17 | 29 |
18 | 30 |
19 // Generic stack frame. | 31 // Generic stack frame. |
20 class StackFrame : public ValueObject { | 32 class StackFrame : public ValueObject { |
21 public: | 33 public: |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 uword pc_; | 277 uword pc_; |
266 GrowableArray<DeoptInstr*> deopt_instructions_; | 278 GrowableArray<DeoptInstr*> deopt_instructions_; |
267 Array& object_table_; | 279 Array& object_table_; |
268 | 280 |
269 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator); | 281 DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsIterator); |
270 }; | 282 }; |
271 | 283 |
272 } // namespace dart | 284 } // namespace dart |
273 | 285 |
274 #endif // VM_STACK_FRAME_H_ | 286 #endif // VM_STACK_FRAME_H_ |
| 287 |
OLD | NEW |