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

Side by Side Diff: src/full-codegen/arm64/full-codegen-arm64.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 unified diff | Download patch
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug/debug.h" 10 #include "src/debug/debug.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 __ B(ne, &check_frame_marker); 256 __ B(ne, &check_frame_marker);
257 __ Ldr(x2, MemOperand(x2, StandardFrameConstants::kCallerFPOffset)); 257 __ Ldr(x2, MemOperand(x2, StandardFrameConstants::kCallerFPOffset));
258 __ Bind(&check_frame_marker); 258 __ Bind(&check_frame_marker);
259 __ Ldr(x1, MemOperand(x2, StandardFrameConstants::kMarkerOffset)); 259 __ Ldr(x1, MemOperand(x2, StandardFrameConstants::kMarkerOffset));
260 __ Cmp(x1, Smi::FromInt(StackFrame::CONSTRUCT)); 260 __ Cmp(x1, Smi::FromInt(StackFrame::CONSTRUCT));
261 function_in_register_x1 = false; 261 function_in_register_x1 = false;
262 262
263 Label non_construct_frame, done; 263 Label non_construct_frame, done;
264 264
265 __ B(ne, &non_construct_frame); 265 __ B(ne, &non_construct_frame);
266 __ Ldr(x0, 266 __ Ldr(x0, MemOperand(x2, ConstructFrameConstants::kNewTargetOffset));
267 MemOperand(x2, ConstructFrameConstants::kOriginalConstructorOffset));
268 __ B(&done); 267 __ B(&done);
269 268
270 __ Bind(&non_construct_frame); 269 __ Bind(&non_construct_frame);
271 __ LoadRoot(x0, Heap::kUndefinedValueRootIndex); 270 __ LoadRoot(x0, Heap::kUndefinedValueRootIndex);
272 271
273 __ Bind(&done); 272 __ Bind(&done);
274 273
275 SetVar(new_target_var, x0, x2, x3); 274 SetVar(new_target_var, x0, x2, x3);
276 } 275 }
277 276
(...skipping 4800 matching lines...) Expand 10 before | Expand all | Expand 10 after
5078 } 5077 }
5079 5078
5080 return INTERRUPT; 5079 return INTERRUPT;
5081 } 5080 }
5082 5081
5083 5082
5084 } // namespace internal 5083 } // namespace internal
5085 } // namespace v8 5084 } // namespace v8
5086 5085
5087 #endif // V8_TARGET_ARCH_ARM64 5086 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698