Chromium Code Reviews| Index: runtime/vm/stack_frame_ia32.cc |
| =================================================================== |
| --- runtime/vm/stack_frame_ia32.cc (revision 19272) |
| +++ runtime/vm/stack_frame_ia32.cc (working copy) |
| @@ -16,6 +16,7 @@ |
| static const int kSavedContextOffsetInEntryFrame = -5 * kWordSize; |
| static const int kExitLinkOffsetInEntryFrame = -4 * kWordSize; |
| static const int kPcAddressOffsetFromSp = -1 * kWordSize; |
| +static const int kEntrypointMarkerOffetFromFp = -1 * kWordSize; |
|
zra
2013/03/01 17:32:49
Offet, again
regis
2013/03/04 17:52:18
Done.
|
| static const int kSpOffsetFromPreviousFp = 2 * kWordSize; |
| @@ -24,6 +25,11 @@ |
| } |
| +intptr_t StackFrame::EntrypointMarkerOffetFromFp() { |
|
zra
2013/03/01 17:32:49
and here. More in same files for other archs
regis
2013/03/04 17:52:18
Done.
|
| + return kEntrypointMarkerOffetFromFp; |
| +} |
| + |
| + |
| uword StackFrame::GetCallerSp() const { |
| return fp() + kSpOffsetFromPreviousFp; |
| } |