Index: runtime/vm/stack_frame.h |
diff --git a/runtime/vm/stack_frame.h b/runtime/vm/stack_frame.h |
index 268ca4a9998819930ed8b30b3cb92ef2bab75a7e..15c8831b71820ce63e021b979590e6644debd449 100644 |
--- a/runtime/vm/stack_frame.h |
+++ b/runtime/vm/stack_frame.h |
@@ -60,6 +60,16 @@ class StackFrame : public ValueObject { |
code; |
} |
+#if !defined(TARGET_ARCH_IA32) && !defined(TARGET_ARCH_DBC) |
+ uword* saved_caller_pp_slot() const { |
+ return reinterpret_cast<uword*>(fp() + |
+ SavedCallerPpSlotFromFp() * kWordSize); |
+ } |
+ uword saved_caller_pp() const { |
Florian Schneider
2016/09/28 01:30:36
Since you store the slot, this getter would not ne
rmacnak
2016/09/28 17:15:56
Done.
|
+ return *saved_caller_pp_slot(); |
+ } |
+#endif |
+ |
// Visit objects in the frame. |
virtual void VisitObjectPointers(ObjectPointerVisitor* visitor); |