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

Unified Diff: runtime/vm/stack_frame_arm.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_arm.cc
===================================================================
--- runtime/vm/stack_frame_arm.cc (revision 19272)
+++ runtime/vm/stack_frame_arm.cc (working copy)
@@ -15,7 +15,8 @@
// code in the InvokeDartCode stub.
static const int kSavedContextOffsetInEntryFrame = -10 * kWordSize;
static const int kExitLinkOffsetInEntryFrame = -9 * kWordSize;
-static const int kPcAddressOffsetFromSp = -1 * kWordSize;
+static const int kPcAddressOffsetFromSp = -2 * kWordSize;
+static const int kEntrypointMarkerOffetFromFp = 2 * kWordSize;
zra 2013/03/01 17:32:49 Missing s in Offet?
regis 2013/03/04 17:52:18 Done.
static const int kSpOffsetFromPreviousFp = 3 * kWordSize;
@@ -24,6 +25,11 @@
}
+intptr_t StackFrame::EntrypointMarkerOffetFromFp() {
zra 2013/03/01 17:32:49 Here, too.
regis 2013/03/04 17:52:18 Done.
+ return kEntrypointMarkerOffetFromFp;
+}
+
+
uword StackFrame::GetCallerSp() const {
return fp() + kSpOffsetFromPreviousFp;
}

Powered by Google App Engine
This is Rietveld 408576698