Index: runtime/vm/stack_frame.h |
diff --git a/runtime/vm/stack_frame.h b/runtime/vm/stack_frame.h |
index 94ba9d31837e3fdcd98ae4b278df180be3530ec7..5dd0f14ac0c7aba2131bd541e6345485bff86b98 100644 |
--- a/runtime/vm/stack_frame.h |
+++ b/runtime/vm/stack_frame.h |
@@ -50,7 +50,12 @@ class StackFrame : public ValueObject { |
} |
void set_pc(uword value) { |
- *reinterpret_cast<uword*>(sp_ + (kSavedPcSlotFromSp * kWordSize)) = value; |
+ *reinterpret_cast<uword*>(sp() + (kSavedPcSlotFromSp * kWordSize)) = value; |
+ } |
+ |
+ void set_pc_marker(RawCode* code) { |
+ *reinterpret_cast<RawCode**>(fp() + (kPcMarkerSlotFromFp * kWordSize)) = |
+ code; |
} |
// Visit objects in the frame. |