Index: runtime/vm/stack_frame.h |
=================================================================== |
--- runtime/vm/stack_frame.h (revision 22714) |
+++ runtime/vm/stack_frame.h (working copy) |
@@ -40,6 +40,15 @@ |
return *reinterpret_cast<uword*>(sp_ + (kSavedPcSlotFromSp * kWordSize)); |
} |
+ // The pool pointer is not implemented on all architectures. |
+ static int SavedCallerPpSlotFromFp() { |
+ if (kSavedCallerPpSlotFromFp != kSavedCallerFpSlotFromFp) { |
+ return kSavedCallerPpSlotFromFp; |
+ } |
+ UNREACHABLE(); |
+ return 0; |
+ } |
+ |
void set_pc(uword value) { |
*reinterpret_cast<uword*>(sp_ + (kSavedPcSlotFromSp * kWordSize)) = value; |
} |