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

Side by Side Diff: src/arm/interface-descriptors-arm.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/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
453 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 465 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
454 CallInterfaceDescriptorData* data) { 466 CallInterfaceDescriptorData* data) {
455 Register registers[] = { 467 Register registers[] = {
456 r0, // argument count (not including receiver) 468 r0, // argument count (not including receiver)
457 r2, // address of first argument 469 r2, // address of first argument
458 r1 // the target callable to be call 470 r1 // the target callable to be call
459 }; 471 };
460 data->InitializePlatformSpecific(arraysize(registers), registers); 472 data->InitializePlatformSpecific(arraysize(registers), registers);
461 } 473 }
462 474
(...skipping 15 matching lines...) Expand all
478 r2, // address of first argument (argv) 490 r2, // address of first argument (argv)
479 r1 // the runtime function to call 491 r1 // the runtime function to call
480 }; 492 };
481 data->InitializePlatformSpecific(arraysize(registers), registers); 493 data->InitializePlatformSpecific(arraysize(registers), registers);
482 } 494 }
483 495
484 } // namespace internal 496 } // namespace internal
485 } // namespace v8 497 } // namespace v8
486 498
487 #endif // V8_TARGET_ARCH_ARM 499 #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