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

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

Issue 1323463005: [Interpreter] Add support for JS calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add MIPS port contributed by akos.palfi@imgtec.com Created 5 years, 3 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/builtins-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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 428
429 void MathRoundVariantCallFromOptimizedCodeDescriptor:: 429 void MathRoundVariantCallFromOptimizedCodeDescriptor::
430 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { 430 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
431 Register registers[] = { 431 Register registers[] = {
432 x1, // math rounding function 432 x1, // math rounding function
433 x3, // vector slot id 433 x3, // vector slot id
434 x4, // type vector 434 x4, // type vector
435 }; 435 };
436 data->InitializePlatformSpecific(arraysize(registers), registers); 436 data->InitializePlatformSpecific(arraysize(registers), registers);
437 } 437 }
438
439
440 void PushArgsAndCallDescriptor::InitializePlatformSpecific(
441 CallInterfaceDescriptorData* data) {
442 Register registers[] = {
443 x0, // argument count (including receiver)
444 x2, // address of first argument
445 x1 // the target callable to be call
446 };
447 data->InitializePlatformSpecific(arraysize(registers), registers);
448 }
449
438 } // namespace internal 450 } // namespace internal
439 } // namespace v8 451 } // namespace v8
440 452
441 #endif // V8_TARGET_ARCH_ARM64 453 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698