Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 7e667a6acd293e9509348522d676f21aac1e72d8..259dab5bbb25220abd876c689366b9a7a805b752 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -92,7 +92,7 @@ class StackHandlerConstants : public AllStatic { |
static const int kContextOffset = 3 * kPointerSize; |
static const int kFPOffset = 4 * kPointerSize; |
- static const int kSize = kFPOffset + kPointerSize; |
+ static const int kSize = kFPOffset + kFPOnStackSize; |
static const int kSlotCount = kSize >> kPointerSizeLog2; |
}; |
@@ -168,13 +168,14 @@ class StandardFrameConstants : public AllStatic { |
// context and function. |
// StandardFrame::IterateExpressions assumes that kContextOffset is the last |
// object pointer. |
- static const int kFixedFrameSize = 4 * kPointerSize; |
+ static const int kFixedFrameSize = kPCOnStackSize + kFPOnStackSize + |
+ 2 * kPointerSize; |
static const int kExpressionsOffset = -3 * kPointerSize; |
static const int kMarkerOffset = -2 * kPointerSize; |
static const int kContextOffset = -1 * kPointerSize; |
static const int kCallerFPOffset = 0 * kPointerSize; |
- static const int kCallerPCOffset = +1 * kPointerSize; |
- static const int kCallerSPOffset = +2 * kPointerSize; |
+ static const int kCallerPCOffset = +1 * kFPOnStackSize; |
+ static const int kCallerSPOffset = +2 * kPCOnStackSize; |
}; |