Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 994ca5480a94a8ad2199941c54f178112a181e6b..ea1dacd9bd24a3e07ab28ea611ec071745538300 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -180,9 +180,10 @@ class InterpreterFrameConstants : public AllStatic { |
public: |
// Register file pointer relative. |
static const int kLastParamFromRegisterPointer = |
- StandardFrameConstants::kFixedFrameSize + kPointerSize; |
- static const int kFunctionFromRegisterPointer = kPointerSize; |
- static const int kContextFromRegisterPointer = 2 * kPointerSize; |
+ StandardFrameConstants::kFixedFrameSize + 2 * kPointerSize; |
+ static const int kNewTargetFromRegisterPointer = kPointerSize; |
+ static const int kFunctionFromRegisterPointer = 2 * kPointerSize; |
+ static const int kContextFromRegisterPointer = 3 * kPointerSize; |
}; |
@@ -583,10 +584,6 @@ class JavaScriptFrame: public StandardFrame { |
// about the inlined frames use {GetFunctions} and {Summarize}. |
bool HasInlinedFrames() const; |
- // Returns the new target function that was used in the constructor call to |
- // this frame. Note that this is only valid on constructor frames. |
- Object* GetNewTarget() const; |
- |
// Check if this frame has "adapted" arguments in the sense that the |
// actual passed arguments are available in an arguments adaptor |
// frame below it on the stack. |