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

Side by Side Diff: src/ia32/interface-descriptors-ia32.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 | « src/crankshaft/hydrogen.cc ('k') | src/interface-descriptors.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 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 edx, // name 341 edx, // name
342 }; 342 };
343 data->InitializePlatformSpecific(arraysize(registers), registers); 343 data->InitializePlatformSpecific(arraysize(registers), registers);
344 } 344 }
345 345
346 346
347 void ArgumentAdaptorDescriptor::InitializePlatformSpecific( 347 void ArgumentAdaptorDescriptor::InitializePlatformSpecific(
348 CallInterfaceDescriptorData* data) { 348 CallInterfaceDescriptorData* data) {
349 Register registers[] = { 349 Register registers[] = {
350 edi, // JSFunction 350 edi, // JSFunction
351 edx, // the new target
351 eax, // actual number of arguments 352 eax, // actual number of arguments
352 ebx, // expected number of arguments 353 ebx, // expected number of arguments
353 }; 354 };
354 data->InitializePlatformSpecific(arraysize(registers), registers); 355 data->InitializePlatformSpecific(arraysize(registers), registers);
355 } 356 }
356 357
357 358
358 void ApiFunctionDescriptor::InitializePlatformSpecific( 359 void ApiFunctionDescriptor::InitializePlatformSpecific(
359 CallInterfaceDescriptorData* data) { 360 CallInterfaceDescriptorData* data) {
360 Register registers[] = { 361 Register registers[] = {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 ecx, // address of first argument (argv) 432 ecx, // address of first argument (argv)
432 ebx // the runtime function to call 433 ebx // the runtime function to call
433 }; 434 };
434 data->InitializePlatformSpecific(arraysize(registers), registers); 435 data->InitializePlatformSpecific(arraysize(registers), registers);
435 } 436 }
436 437
437 } // namespace internal 438 } // namespace internal
438 } // namespace v8 439 } // namespace v8
439 440
440 #endif // V8_TARGET_ARCH_IA32 441 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/interface-descriptors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698