| OLD | NEW |
| 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 399 |
| 400 void MathRoundVariantCallFromOptimizedCodeDescriptor:: | 400 void MathRoundVariantCallFromOptimizedCodeDescriptor:: |
| 401 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { | 401 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { |
| 402 Register registers[] = { | 402 Register registers[] = { |
| 403 r1, // math rounding function | 403 r1, // math rounding function |
| 404 r3, // vector slot id | 404 r3, // vector slot id |
| 405 r4, // type vector | 405 r4, // type vector |
| 406 }; | 406 }; |
| 407 data->InitializePlatformSpecific(arraysize(registers), registers); | 407 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 408 } | 408 } |
| 409 |
| 410 |
| 411 void PushArgsAndCallDescriptor::InitializePlatformSpecific( |
| 412 CallInterfaceDescriptorData* data) { |
| 413 Register registers[] = { |
| 414 r0, // argument count (including receiver) |
| 415 r2, // address of first argument |
| 416 r1 // the target callable to be call |
| 417 }; |
| 418 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 419 } |
| 420 |
| 409 } // namespace internal | 421 } // namespace internal |
| 410 } // namespace v8 | 422 } // namespace v8 |
| 411 | 423 |
| 412 #endif // V8_TARGET_ARCH_ARM | 424 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |