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

Side by Side Diff: runtime/vm/stack_frame_x64.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_mips.h ('k') | runtime/vm/vm_sources.gypi » ('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_X64_H_
6 #define VM_STACK_FRAME_X64_H_
7
8 namespace dart {
9
10 /* X64 Dart Frame Layout
11
12 | | <- TOS
13 Callee frame | ... |
14 | current ret addr | (PC of current frame)
15 +-------------------+
16 Current frame | ... | <- RSP of current frame
17 | first local |
18 | PC Marker | (current frame's code entry)
19 | caller's RBP | <- RBP of current frame
20 | caller's ret addr | (PC of caller frame)
21 +-------------------+
22 Caller frame | last parameter |
23 | ... |
24 */
25
26 static const int kLastParamSlotIndex = 2; // From fp.
27 static const int kFirstLocalSlotIndex = -2; // From fp.
28 static const int kPcSlotIndexFromSp = -1;
29
30 } // namespace dart
31
32 #endif // VM_STACK_FRAME_X64_H_
33
OLDNEW
« no previous file with comments | « runtime/vm/stack_frame_mips.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698