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

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

Issue 1362383002: [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm32 debug build check errors. 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/code-stubs-arm64.cc ('k') | src/assembler.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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { 439 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
440 Register registers[] = { 440 Register registers[] = {
441 x1, // math rounding function 441 x1, // math rounding function
442 x3, // vector slot id 442 x3, // vector slot id
443 x4, // type vector 443 x4, // type vector
444 }; 444 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 445 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 446 }
447 447
448 448
449 void PushArgsAndCallDescriptor::InitializePlatformSpecific( 449 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
450 CallInterfaceDescriptorData* data) { 450 CallInterfaceDescriptorData* data) {
451 Register registers[] = { 451 Register registers[] = {
452 x0, // argument count (including receiver) 452 x0, // argument count (not including receiver)
453 x2, // address of first argument 453 x2, // address of first argument
454 x1 // the target callable to be call 454 x1 // the target callable to be call
455 }; 455 };
456 data->InitializePlatformSpecific(arraysize(registers), registers); 456 data->InitializePlatformSpecific(arraysize(registers), registers);
457 } 457 }
458 458
459
460 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
461 CallInterfaceDescriptorData* data) {
462 Register registers[] = {
463 x0, // argument count (argc)
464 x11, // address of first argument (argv)
465 x1 // the runtime function to call
466 };
467 data->InitializePlatformSpecific(arraysize(registers), registers);
468 }
469
470
459 } // namespace internal 471 } // namespace internal
460 } // namespace v8 472 } // namespace v8
461 473
462 #endif // V8_TARGET_ARCH_ARM64 474 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698