Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 56ef67e331f199b1756816d1b3ce25e23691b80e..2d45932d09a8d39c75dfb7b5b816ccdafd41a945 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -206,6 +206,11 @@ class StackFrame BASE_EMBEDDED { |
Address fp() const { return state_.fp; } |
Address caller_sp() const { return GetCallerStackPointer(); } |
+ // If this frame is optimized and was dynamically aligned return its old |
+ // unaligned frame pointer. When the frame is deoptimized its FP will shift |
+ // up one word and become unaligned. |
+ Address UnpaddedFP() const; |
+ |
Address pc() const { return *pc_address(); } |
void set_pc(Address pc) { *pc_address() = pc; } |