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

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

Issue 1688283003: [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removes an unused label declaration. Created 4 years, 9 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/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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 479
480 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 480 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
481 CallInterfaceDescriptorData* data) { 481 CallInterfaceDescriptorData* data) {
482 Register registers[] = { 482 Register registers[] = {
483 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 483 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
484 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 484 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
485 kInterpreterDispatchTableRegister}; 485 kInterpreterDispatchTableRegister};
486 data->InitializePlatformSpecific(arraysize(registers), registers); 486 data->InitializePlatformSpecific(arraysize(registers), registers);
487 } 487 }
488 488
489 void InterpreterPushArgsAndCallICDescriptor::InitializePlatformSpecific(
490 CallInterfaceDescriptorData* data) {
491 Register registers[] = {
492 x0, // argument count (not including receiver)
493 x4, // address of first argument
494 x1, // the target callable to be call
495 x3, // slot id
496 x2 // type feedback vector
497 };
498 data->InitializePlatformSpecific(arraysize(registers), registers);
499 }
500
489 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 501 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
490 CallInterfaceDescriptorData* data) { 502 CallInterfaceDescriptorData* data) {
491 Register registers[] = { 503 Register registers[] = {
492 x0, // argument count (not including receiver) 504 x0, // argument count (not including receiver)
493 x2, // address of first argument 505 x2, // address of first argument
494 x1 // the target callable to be call 506 x1 // the target callable to be call
495 }; 507 };
496 data->InitializePlatformSpecific(arraysize(registers), registers); 508 data->InitializePlatformSpecific(arraysize(registers), registers);
497 } 509 }
498 510
(...skipping 16 matching lines...) Expand all
515 x1 // the runtime function to call 527 x1 // the runtime function to call
516 }; 528 };
517 data->InitializePlatformSpecific(arraysize(registers), registers); 529 data->InitializePlatformSpecific(arraysize(registers), registers);
518 } 530 }
519 531
520 532
521 } // namespace internal 533 } // namespace internal
522 } // namespace v8 534 } // namespace v8
523 535
524 #endif // V8_TARGET_ARCH_ARM64 536 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698