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

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

Powered by Google App Engine
This is Rietveld 408576698