| Index: src/frames.h
|
| diff --git a/src/frames.h b/src/frames.h
|
| index 4be488620d1ef87c607aef3a5c310a2c171b1af8..a5d6806640e77714d50716e75eb9e43aebd25184 100644
|
| --- a/src/frames.h
|
| +++ b/src/frames.h
|
| @@ -334,7 +334,7 @@ class BuiltinExitFrameConstants : public CommonFrameConstants {
|
|
|
| class InterpreterFrameConstants : public AllStatic {
|
| public:
|
| - // Fixed frame includes new.target and bytecode offset.
|
| + // Fixed frame includes new.target, bytecode array, and bytecode offset.
|
| static const int kFixedFrameSize =
|
| StandardFrameConstants::kFixedFrameSize + 3 * kPointerSize;
|
| static const int kFixedFrameSizeFromFp =
|
| @@ -355,6 +355,11 @@ class InterpreterFrameConstants : public AllStatic {
|
|
|
| static const int kExpressionsOffset = kRegisterFileFromFp;
|
|
|
| + // Number of fixed slots in addition to a {StandardFrame}.
|
| + static const int kExtraSlotCount =
|
| + InterpreterFrameConstants::kFixedFrameSize / kPointerSize -
|
| + StandardFrameConstants::kFixedFrameSize / kPointerSize;
|
| +
|
| // Expression index for {StandardFrame::GetExpressionAddress}.
|
| static const int kBytecodeArrayExpressionIndex = -2;
|
| static const int kBytecodeOffsetExpressionIndex = -1;
|
|
|