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

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

Issue 1402153004: Revert of [Interpreter] Support for operator new. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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/arm64/builtins-arm64.cc ('k') | src/builtins.h » ('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/arm64/interface-descriptors-arm64.h" 5 #include "src/arm64/interface-descriptors-arm64.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 CallInterfaceDescriptorData* data) { 442 CallInterfaceDescriptorData* data) {
443 Register registers[] = { 443 Register registers[] = {
444 x0, // argument count (not including receiver) 444 x0, // argument count (not including receiver)
445 x2, // address of first argument 445 x2, // address of first argument
446 x1 // the target callable to be call 446 x1 // the target callable to be call
447 }; 447 };
448 data->InitializePlatformSpecific(arraysize(registers), registers); 448 data->InitializePlatformSpecific(arraysize(registers), registers);
449 } 449 }
450 450
451 451
452 void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
453 CallInterfaceDescriptorData* data) {
454 Register registers[] = {
455 x0, // argument count (not including receiver)
456 x3, // original constructor
457 x1, // constructor to call
458 x2 // address of the first argument
459 };
460 data->InitializePlatformSpecific(arraysize(registers), registers);
461 }
462
463
464 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 452 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
465 CallInterfaceDescriptorData* data) { 453 CallInterfaceDescriptorData* data) {
466 Register registers[] = { 454 Register registers[] = {
467 x0, // argument count (argc) 455 x0, // argument count (argc)
468 x11, // address of first argument (argv) 456 x11, // address of first argument (argv)
469 x1 // the runtime function to call 457 x1 // the runtime function to call
470 }; 458 };
471 data->InitializePlatformSpecific(arraysize(registers), registers); 459 data->InitializePlatformSpecific(arraysize(registers), registers);
472 } 460 }
473 461
474 462
475 } // namespace internal 463 } // namespace internal
476 } // namespace v8 464 } // namespace v8
477 465
478 #endif // V8_TARGET_ARCH_ARM64 466 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698