Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index b4c58b7578f87e5211bfbf901356b5c36646e7d2..76b8cb89390d33846cfa5fc5c913ac9d2a9537da 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -176,12 +176,18 @@ class ConstructFrameConstants : public AllStatic { |
class InterpreterFrameConstants : public AllStatic { |
public: |
+ // FP-relative. |
+ static const int kRegisterFilePointerFromFp = |
+ -StandardFrameConstants::kFixedFrameSizeFromFp - 3 * kPointerSize; |
+ |
// Register file pointer relative. |
static const int kLastParamFromRegisterPointer = |
- StandardFrameConstants::kFixedFrameSize + 2 * kPointerSize; |
- static const int kNewTargetFromRegisterPointer = kPointerSize; |
- static const int kFunctionFromRegisterPointer = 2 * kPointerSize; |
- static const int kContextFromRegisterPointer = 3 * kPointerSize; |
+ StandardFrameConstants::kFixedFrameSize + 3 * kPointerSize; |
+ |
+ static const int kBytecodeOffsetFromRegisterPointer = 1 * kPointerSize; |
+ static const int kNewTargetFromRegisterPointer = 2 * kPointerSize; |
+ static const int kFunctionFromRegisterPointer = 3 * kPointerSize; |
+ static const int kContextFromRegisterPointer = 4 * kPointerSize; |
}; |