Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Unified Diff: src/frames.h

Issue 1469313002: [interpreter] Switch passing of new.target to register. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
« src/arm64/builtins-arm64.cc ('K') | « src/arm64/builtins-arm64.cc ('k') | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698