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

Unified Diff: runtime/vm/stack_frame_x64.cc

Issue 12381034: Second codegen test passing on ARM (simulated). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/stack_frame_x64.cc
===================================================================
--- runtime/vm/stack_frame_x64.cc (revision 19272)
+++ runtime/vm/stack_frame_x64.cc (working copy)
@@ -16,6 +16,7 @@
static const int kSavedContextOffsetInEntryFrame = -9 * kWordSize;
static const int kExitLinkOffsetInEntryFrame = -8 * kWordSize;
static const int kPcAddressOffsetFromSp = -1 * kWordSize;
+static const int kEntrypointMarkerOffetFromFp = -1 * kWordSize;
static const int kSpOffsetFromPreviousFp = 2 * kWordSize;
@@ -24,6 +25,11 @@
}
+intptr_t StackFrame::EntrypointMarkerOffetFromFp() {
+ return kEntrypointMarkerOffetFromFp;
+}
+
+
uword StackFrame::GetCallerSp() const {
return fp() + kSpOffsetFromPreviousFp;
}

Powered by Google App Engine
This is Rietveld 408576698