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

Side by Side Diff: src/arm/interface-descriptors-arm.cc

Issue 1457313002: [turbofan] Pass new.target to arguments adaptor trampoline. (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 unified diff | Download patch
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.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 #include "src/arm/interface-descriptors-arm.h" 5 #include "src/arm/interface-descriptors-arm.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 } 351 }
352 352
353 353
354 void ArgumentAdaptorDescriptor::InitializePlatformSpecific( 354 void ArgumentAdaptorDescriptor::InitializePlatformSpecific(
355 CallInterfaceDescriptorData* data) { 355 CallInterfaceDescriptorData* data) {
356 static PlatformInterfaceDescriptor default_descriptor = 356 static PlatformInterfaceDescriptor default_descriptor =
357 PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS); 357 PlatformInterfaceDescriptor(CAN_INLINE_TARGET_ADDRESS);
358 358
359 Register registers[] = { 359 Register registers[] = {
360 r1, // JSFunction 360 r1, // JSFunction
361 r3, // the new target
361 r0, // actual number of arguments 362 r0, // actual number of arguments
362 r2, // expected number of arguments 363 r2, // expected number of arguments
363 }; 364 };
364 data->InitializePlatformSpecific(arraysize(registers), registers, 365 data->InitializePlatformSpecific(arraysize(registers), registers,
365 &default_descriptor); 366 &default_descriptor);
366 } 367 }
367 368
368 369
369 void ApiFunctionDescriptor::InitializePlatformSpecific( 370 void ApiFunctionDescriptor::InitializePlatformSpecific(
370 CallInterfaceDescriptorData* data) { 371 CallInterfaceDescriptorData* data) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 r2, // address of first argument (argv) 451 r2, // address of first argument (argv)
451 r1 // the runtime function to call 452 r1 // the runtime function to call
452 }; 453 };
453 data->InitializePlatformSpecific(arraysize(registers), registers); 454 data->InitializePlatformSpecific(arraysize(registers), registers);
454 } 455 }
455 456
456 } // namespace internal 457 } // namespace internal
457 } // namespace v8 458 } // namespace v8
458 459
459 #endif // V8_TARGET_ARCH_ARM 460 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698