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

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

Issue 1475953002: [stubs] A new approach to TF stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win64 build Created 5 years 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/interface-descriptors-mips.cc ('k') | src/runtime/runtime.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 #if V8_TARGET_ARCH_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 Register registers[] = { 384 Register registers[] = {
385 a0, // callee 385 a0, // callee
386 a4, // call_data 386 a4, // call_data
387 a2, // holder 387 a2, // holder
388 a1, // api_function_address 388 a1, // api_function_address
389 }; 389 };
390 data->InitializePlatformSpecific(arraysize(registers), registers); 390 data->InitializePlatformSpecific(arraysize(registers), registers);
391 } 391 }
392 392
393 393
394 void MathRoundVariantCallFromUnoptimizedCodeDescriptor::
395 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
396 Register registers[] = {
397 a1, // math rounding function
398 a3, // vector slot id
399 };
400 data->InitializePlatformSpecific(arraysize(registers), registers);
401 }
402
403
404 void MathRoundVariantCallFromOptimizedCodeDescriptor::
405 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
406 Register registers[] = {
407 a1, // math rounding function
408 a3, // vector slot id
409 a2, // type vector
410 };
411 data->InitializePlatformSpecific(arraysize(registers), registers);
412 }
413
414
415 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 394 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
416 CallInterfaceDescriptorData* data) { 395 CallInterfaceDescriptorData* data) {
417 Register registers[] = { 396 Register registers[] = {
418 a0, // argument count (not including receiver) 397 a0, // argument count (not including receiver)
419 a2, // address of first argument 398 a2, // address of first argument
420 a1 // the target callable to be call 399 a1 // the target callable to be call
421 }; 400 };
422 data->InitializePlatformSpecific(arraysize(registers), registers); 401 data->InitializePlatformSpecific(arraysize(registers), registers);
423 } 402 }
424 403
(...skipping 17 matching lines...) Expand all
442 a2, // address of first argument (argv) 421 a2, // address of first argument (argv)
443 a1 // the runtime function to call 422 a1 // the runtime function to call
444 }; 423 };
445 data->InitializePlatformSpecific(arraysize(registers), registers); 424 data->InitializePlatformSpecific(arraysize(registers), registers);
446 } 425 }
447 426
448 } // namespace internal 427 } // namespace internal
449 } // namespace v8 428 } // namespace v8
450 429
451 #endif // V8_TARGET_ARCH_MIPS64 430 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/interface-descriptors-mips.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698