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 RUNTIME_VM_STACK_FRAME_H_ |
6 #define VM_STACK_FRAME_H_ | 6 #define RUNTIME_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) | 12 #if defined(TARGET_ARCH_IA32) |
13 #include "vm/stack_frame_ia32.h" | 13 #include "vm/stack_frame_ia32.h" |
14 #elif defined(TARGET_ARCH_X64) | 14 #elif defined(TARGET_ARCH_X64) |
15 #include "vm/stack_frame_x64.h" | 15 #include "vm/stack_frame_x64.h" |
16 #elif defined(TARGET_ARCH_ARM) | 16 #elif defined(TARGET_ARCH_ARM) |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 #endif | 400 #endif |
401 | 401 |
402 | 402 |
403 DART_FORCE_INLINE static uword LocalVarAddress(uword fp, intptr_t index) { | 403 DART_FORCE_INLINE static uword LocalVarAddress(uword fp, intptr_t index) { |
404 return fp + LocalVarIndex(0, index) * kWordSize; | 404 return fp + LocalVarIndex(0, index) * kWordSize; |
405 } | 405 } |
406 | 406 |
407 | 407 |
408 } // namespace dart | 408 } // namespace dart |
409 | 409 |
410 #endif // VM_STACK_FRAME_H_ | 410 #endif // RUNTIME_VM_STACK_FRAME_H_ |
OLD | NEW |