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

Unified Diff: src/frames.cc

Issue 1442643002: [turbofan] Rename "original constructor" to "new target". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. 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
« no previous file with comments | « src/frames.h ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.cc
diff --git a/src/frames.cc b/src/frames.cc
index 0aeda5a5b3db15960103c82892a3347f5924f738..61b21beec4ce1391fdd0400825b5f31f05688d65 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -756,7 +756,7 @@ bool JavaScriptFrame::HasInlinedFrames() const {
}
-Object* JavaScriptFrame::GetOriginalConstructor() const {
+Object* JavaScriptFrame::GetNewTarget() const {
DCHECK(!HasInlinedFrames());
Address fp = caller_fp();
if (has_adapted_arguments()) {
@@ -764,7 +764,7 @@ Object* JavaScriptFrame::GetOriginalConstructor() const {
fp = Memory::Address_at(fp + StandardFrameConstants::kCallerFPOffset);
}
DCHECK(IsConstructFrame(fp));
- STATIC_ASSERT(ConstructFrameConstants::kOriginalConstructorOffset ==
+ STATIC_ASSERT(ConstructFrameConstants::kNewTargetOffset ==
StandardFrameConstants::kExpressionsOffset - 3 * kPointerSize);
return GetExpression(fp, 3);
}
« no previous file with comments | « src/frames.h ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698