Chromium Code Reviews| Index: src/frames.h | 
| diff --git a/src/frames.h b/src/frames.h | 
| index 48e5a3e1490ec826cbb4747ab2bd95b4f5ddb603..3df4abffd8e6c4ee635d34be675a0b74c003ea43 100644 | 
| --- a/src/frames.h | 
| +++ b/src/frames.h | 
| @@ -178,28 +178,29 @@ class InterpreterFrameConstants : public AllStatic { | 
| public: | 
| // Fixed frame includes new.target and bytecode offset. | 
| static const int kFixedFrameSize = | 
| - StandardFrameConstants::kFixedFrameSize + 2 * kPointerSize; | 
| + StandardFrameConstants::kFixedFrameSize + 3 * kPointerSize; | 
| static const int kFixedFrameSizeFromFp = | 
| - StandardFrameConstants::kFixedFrameSizeFromFp + 2 * kPointerSize; | 
| + StandardFrameConstants::kFixedFrameSizeFromFp + 3 * kPointerSize; | 
| // FP-relative. | 
| static const int kBytecodeOffsetFromFp = | 
| - -StandardFrameConstants::kFixedFrameSizeFromFp - 2 * kPointerSize; | 
| - static const int kRegisterFilePointerFromFp = | 
| -StandardFrameConstants::kFixedFrameSizeFromFp - 3 * kPointerSize; | 
| + static const int kRegisterFilePointerFromFp = | 
| + -StandardFrameConstants::kFixedFrameSizeFromFp - 4 * kPointerSize; | 
| // Expression index for {StandardFrame::GetExpressionAddress}. | 
| - static const int kBytecodeOffsetExpressionIndex = 1; | 
| - static const int kRegisterFileExpressionIndex = 2; | 
| + static const int kBytecodeOffsetExpressionIndex = 2; | 
| + static const int kRegisterFileExpressionIndex = 3; | 
| // Register file pointer relative. | 
| static const int kLastParamFromRegisterPointer = | 
| - StandardFrameConstants::kFixedFrameSize + 3 * kPointerSize; | 
| + StandardFrameConstants::kFixedFrameSize + 4 * 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; | 
| + static const int kDispatchTableFromRegisterPointer = 2 * kPointerSize; | 
| + static const int kNewTargetFromRegisterPointer = 3 * kPointerSize; | 
| + static const int kFunctionFromRegisterPointer = 4 * kPointerSize; | 
| + static const int kContextFromRegisterPointer = 5 * kPointerSize; | 
| 
 
Yang
2016/02/10 12:37:46
Can you introduce a convenience method to read and
 
rmcilroy
2016/02/11 09:00:50
Done.
 
 | 
| }; |