OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 #ifndef VM_STACK_FRAME_ARM_H_ |
| 6 #define VM_STACK_FRAME_ARM_H_ |
| 7 |
| 8 namespace dart { |
| 9 |
| 10 /* ARM Dart Frame Layout |
| 11 |
| 12 | | <- TOS |
| 13 Callee frame | ... | |
| 14 | current LR | (PC of current frame) |
| 15 | PC Marker | (callee's frame code entry) |
| 16 +-------------------+ |
| 17 Current frame | ... | <- SP of current frame |
| 18 | first local | |
| 19 | caller's PP | |
| 20 | caller's FP | <- FP of current frame |
| 21 | caller's LR | (PC of caller frame) |
| 22 | PC Marker | (current frame's code entry) |
| 23 +-------------------+ |
| 24 Caller frame | last parameter | |
| 25 | ... | |
| 26 */ |
| 27 |
| 28 static const int kLastParamSlotIndex = 3; // From fp. |
| 29 static const int kFirstLocalSlotIndex = -2; // From fp. |
| 30 static const int kPcSlotIndexFromSp = -2; |
| 31 |
| 32 } // namespace dart |
| 33 |
| 34 #endif // VM_STACK_FRAME_ARM_H_ |
| 35 |
OLD | NEW |