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

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

Issue 1475953002: [stubs] A new approach to TF stubs (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Merge with ToT 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
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 r0, // callee 410 r0, // callee
411 r4, // call_data 411 r4, // call_data
412 r2, // holder 412 r2, // holder
413 r1, // api_function_address 413 r1, // api_function_address
414 }; 414 };
415 data->InitializePlatformSpecific(arraysize(registers), registers, 415 data->InitializePlatformSpecific(arraysize(registers), registers,
416 &default_descriptor); 416 &default_descriptor);
417 } 417 }
418 418
419 419
420 void MathRoundVariantCallFromUnoptimizedCodeDescriptor::
421 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
422 Register registers[] = {
423 r1, // math rounding function
424 r3, // vector slot id
425 };
426 data->InitializePlatformSpecific(arraysize(registers), registers);
427 }
428
429
430 void MathRoundVariantCallFromOptimizedCodeDescriptor::
431 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
432 Register registers[] = {
433 r1, // math rounding function
434 r3, // vector slot id
435 r4, // type vector
436 };
437 data->InitializePlatformSpecific(arraysize(registers), registers);
438 }
439
440
441 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific( 420 void InterpreterPushArgsAndCallDescriptor::InitializePlatformSpecific(
442 CallInterfaceDescriptorData* data) { 421 CallInterfaceDescriptorData* data) {
443 Register registers[] = { 422 Register registers[] = {
444 r0, // argument count (not including receiver) 423 r0, // argument count (not including receiver)
445 r2, // address of first argument 424 r2, // address of first argument
446 r1 // the target callable to be call 425 r1 // the target callable to be call
447 }; 426 };
448 data->InitializePlatformSpecific(arraysize(registers), registers); 427 data->InitializePlatformSpecific(arraysize(registers), registers);
449 } 428 }
450 429
(...skipping 17 matching lines...) Expand all
468 r2, // address of first argument (argv) 447 r2, // address of first argument (argv)
469 r1 // the runtime function to call 448 r1 // the runtime function to call
470 }; 449 };
471 data->InitializePlatformSpecific(arraysize(registers), registers); 450 data->InitializePlatformSpecific(arraysize(registers), registers);
472 } 451 }
473 452
474 } // namespace internal 453 } // namespace internal
475 } // namespace v8 454 } // namespace v8
476 455
477 #endif // V8_TARGET_ARCH_ARM 456 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/DEPS ('k') | src/arm64/interface-descriptors-arm64.cc » ('j') | src/code-stubs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698