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

Side by Side Diff: src/frames.h

Issue 1489353004: Remove new.target value from construct stub frames. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-pass-new-target-9
Patch Set: Created 5 years 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 unified diff | Download patch
« no previous file with comments | « src/deoptimizer.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FRAMES_H_ 5 #ifndef V8_FRAMES_H_
6 #define V8_FRAMES_H_ 6 #define V8_FRAMES_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 public: 154 public:
155 // FP-relative. 155 // FP-relative.
156 static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset; 156 static const int kCodeOffset = StandardFrameConstants::kExpressionsOffset;
157 }; 157 };
158 158
159 159
160 class ConstructFrameConstants : public AllStatic { 160 class ConstructFrameConstants : public AllStatic {
161 public: 161 public:
162 // FP-relative. 162 // FP-relative.
163 static const int kImplicitReceiverOffset = 163 static const int kImplicitReceiverOffset =
164 StandardFrameConstants::kExpressionsOffset - 4 * kPointerSize;
165 static const int kNewTargetOffset =
166 StandardFrameConstants::kExpressionsOffset - 3 * kPointerSize; 164 StandardFrameConstants::kExpressionsOffset - 3 * kPointerSize;
167 static const int kLengthOffset = 165 static const int kLengthOffset =
168 StandardFrameConstants::kExpressionsOffset - 2 * kPointerSize; 166 StandardFrameConstants::kExpressionsOffset - 2 * kPointerSize;
169 static const int kAllocationSiteOffset = 167 static const int kAllocationSiteOffset =
170 StandardFrameConstants::kExpressionsOffset - 1 * kPointerSize; 168 StandardFrameConstants::kExpressionsOffset - 1 * kPointerSize;
171 static const int kCodeOffset = 169 static const int kCodeOffset =
172 StandardFrameConstants::kExpressionsOffset - 0 * kPointerSize; 170 StandardFrameConstants::kExpressionsOffset - 0 * kPointerSize;
173 171
174 static const int kFrameSize = 172 static const int kFrameSize =
175 StandardFrameConstants::kFixedFrameSize + 5 * kPointerSize; 173 StandardFrameConstants::kFixedFrameSize + 4 * kPointerSize;
176 }; 174 };
177 175
178 176
179 class InterpreterFrameConstants : public AllStatic { 177 class InterpreterFrameConstants : public AllStatic {
180 public: 178 public:
181 // Register file pointer relative. 179 // Register file pointer relative.
182 static const int kLastParamFromRegisterPointer = 180 static const int kLastParamFromRegisterPointer =
183 StandardFrameConstants::kFixedFrameSize + 2 * kPointerSize; 181 StandardFrameConstants::kFixedFrameSize + 2 * kPointerSize;
184 static const int kNewTargetFromRegisterPointer = kPointerSize; 182 static const int kNewTargetFromRegisterPointer = kPointerSize;
185 static const int kFunctionFromRegisterPointer = 2 * kPointerSize; 183 static const int kFunctionFromRegisterPointer = 2 * kPointerSize;
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 953
956 954
957 // Reads all frames on the current stack and copies them into the current 955 // Reads all frames on the current stack and copies them into the current
958 // zone memory. 956 // zone memory.
959 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 957 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
960 958
961 } // namespace internal 959 } // namespace internal
962 } // namespace v8 960 } // namespace v8
963 961
964 #endif // V8_FRAMES_H_ 962 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/ia32/builtins-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698