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

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

Issue 1731253003: Revert of [Interpreter] Implements calls through CallICStub in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/arm/code-stubs-arm.cc ('k') | src/arm64/builtins-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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 443
444 void InterpreterDispatchDescriptor::InitializePlatformSpecific( 444 void InterpreterDispatchDescriptor::InitializePlatformSpecific(
445 CallInterfaceDescriptorData* data) { 445 CallInterfaceDescriptorData* data) {
446 Register registers[] = { 446 Register registers[] = {
447 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister, 447 kInterpreterAccumulatorRegister, kInterpreterRegisterFileRegister,
448 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister, 448 kInterpreterBytecodeOffsetRegister, kInterpreterBytecodeArrayRegister,
449 kInterpreterDispatchTableRegister}; 449 kInterpreterDispatchTableRegister};
450 data->InitializePlatformSpecific(arraysize(registers), registers); 450 data->InitializePlatformSpecific(arraysize(registers), registers);
451 } 451 }
452 452
453 void InterpreterPushArgsAndCallICDescriptor::InitializePlatformSpecific(
454 CallInterfaceDescriptorData* data) {
455 Register registers[] = {
456 r0, // argument count (not including receiver)
457 r4, // address of first argument
458 r1, // the target callable to be call
459 r3, // slot id
460 r2 // type feedback vector
461 };
462 data->InitializePlatformSpecific(arraysize(registers), registers);
463 }
464
465 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 453 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
466 CallInterfaceDescriptorData* data) { 454 CallInterfaceDescriptorData* data) {
467 Register registers[] = { 455 Register registers[] = {
468 r0, // argument count (not including receiver) 456 r0, // argument count (not including receiver)
469 r2, // address of first argument 457 r2, // address of first argument
470 r1 // the target callable to be call 458 r1 // the target callable to be call
471 }; 459 };
472 data->InitializePlatformSpecific(arraysize(registers), registers); 460 data->InitializePlatformSpecific(arraysize(registers), registers);
473 } 461 }
474 462
(...skipping 15 matching lines...) Expand all
490 r2, // address of first argument (argv) 478 r2, // address of first argument (argv)
491 r1 // the runtime function to call 479 r1 // the runtime function to call
492 }; 480 };
493 data->InitializePlatformSpecific(arraysize(registers), registers); 481 data->InitializePlatformSpecific(arraysize(registers), registers);
494 } 482 }
495 483
496 } // namespace internal 484 } // namespace internal
497 } // namespace v8 485 } // namespace v8
498 486
499 #endif // V8_TARGET_ARCH_ARM 487 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698