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

Side by Side Diff: src/mips/interface-descriptors-mips.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, 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/mips/code-stubs-mips.cc ('k') | src/mips64/builtins-mips64.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 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 428 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
429 CallInterfaceDescriptorData* data) { 429 CallInterfaceDescriptorData* data) {
430 Register registers[] = { 430 Register registers[] = {
431 a0, // argument count (not including receiver) 431 a0, // argument count (not including receiver)
432 a2, // address of first argument 432 a2, // address of first argument
433 a1 // the target callable to be call 433 a1 // the target callable to be call
434 }; 434 };
435 data->InitializePlatformSpecific(arraysize(registers), registers); 435 data->InitializePlatformSpecific(arraysize(registers), registers);
436 } 436 }
437 437
438 void InterpreterPushArgsAndCallICDescriptor::InitializePlatformSpecific(
439 CallInterfaceDescriptorData* data) {
440 Register registers[] = {
441 a0, // argument count (not including receiver)
442 t0, // address of first argument
443 a1, // the target callable to be call
444 a3, // feedback vector slot id
445 a2 // type feedback vector
446 };
447 data->InitializePlatformSpecific(arraysize(registers), registers);
448 }
449
450 void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific( 438 void InterpreterPushArgsAndConstructDescriptor::InitializePlatformSpecific(
451 CallInterfaceDescriptorData* data) { 439 CallInterfaceDescriptorData* data) {
452 Register registers[] = { 440 Register registers[] = {
453 a0, // argument count (not including receiver) 441 a0, // argument count (not including receiver)
454 a3, // new target 442 a3, // new target
455 a1, // constructor to call 443 a1, // constructor to call
456 a2 // address of the first argument 444 a2 // address of the first argument
457 }; 445 };
458 data->InitializePlatformSpecific(arraysize(registers), registers); 446 data->InitializePlatformSpecific(arraysize(registers), registers);
459 } 447 }
460 448
461 void InterpreterCEntryDescriptor::InitializePlatformSpecific( 449 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
462 CallInterfaceDescriptorData* data) { 450 CallInterfaceDescriptorData* data) {
463 Register registers[] = { 451 Register registers[] = {
464 a0, // argument count (argc) 452 a0, // argument count (argc)
465 a2, // address of first argument (argv) 453 a2, // address of first argument (argv)
466 a1 // the runtime function to call 454 a1 // the runtime function to call
467 }; 455 };
468 data->InitializePlatformSpecific(arraysize(registers), registers); 456 data->InitializePlatformSpecific(arraysize(registers), registers);
469 } 457 }
470 458
471 } // namespace internal 459 } // namespace internal
472 } // namespace v8 460 } // namespace v8
473 461
474 #endif // V8_TARGET_ARCH_MIPS 462 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698