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

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

Issue 1387543002: Revert of [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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/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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { 385 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
386 Register registers[] = { 386 Register registers[] = {
387 a1, // math rounding function 387 a1, // math rounding function
388 a3, // vector slot id 388 a3, // vector slot id
389 a2, // type vector 389 a2, // type vector
390 }; 390 };
391 data->InitializePlatformSpecific(arraysize(registers), registers); 391 data->InitializePlatformSpecific(arraysize(registers), registers);
392 } 392 }
393 393
394 394
395 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 395 void PushArgsAndCallDescriptor::InitializePlatformSpecific(
396 CallInterfaceDescriptorData* data) { 396 CallInterfaceDescriptorData* data) {
397 Register registers[] = { 397 Register registers[] = {
398 a0, // argument count (not including receiver) 398 a0, // argument count (including receiver)
399 a2, // address of first argument 399 a2, // address of first argument
400 a1 // the target callable to be call 400 a1 // the target callable to be call
401 }; 401 };
402 data->InitializePlatformSpecific(arraysize(registers), registers); 402 data->InitializePlatformSpecific(arraysize(registers), registers);
403 } 403 }
404 404
405
406 void InterpreterCEntryDescriptor::InitializePlatformSpecific(
407 CallInterfaceDescriptorData* data) {
408 Register registers[] = {
409 a0, // argument count (argc)
410 a2, // address of first argument (argv)
411 a1 // the runtime function to call
412 };
413 data->InitializePlatformSpecific(arraysize(registers), registers);
414 }
415
416 } // namespace internal 405 } // namespace internal
417 } // namespace v8 406 } // namespace v8
418 407
419 #endif // V8_TARGET_ARCH_MIPS 408 #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