Index: runtime/vm/stack_frame.h |
diff --git a/runtime/vm/stack_frame.h b/runtime/vm/stack_frame.h |
index dd849e57948a7288b9a001a0d19cfd757313c907..537945bf894788b75705308d1108434664cefceb 100644 |
--- a/runtime/vm/stack_frame.h |
+++ b/runtime/vm/stack_frame.h |
@@ -50,7 +50,11 @@ 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(uword value) { |
+ *reinterpret_cast<uword*>(fp() + (kPcMarkerSlotFromFp * kWordSize)) = value; |
} |
// Visit objects in the frame. |