Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: runtime/vm/stack_frame_arm.h

Issue 14831004: Introduce architecture specific headers describing Dart stack frames. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/stack_frame.h ('k') | runtime/vm/stack_frame_ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « runtime/vm/stack_frame.h ('k') | runtime/vm/stack_frame_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698