| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 94 } |
| 95 | 95 |
| 96 | 96 |
| 97 void FastNewRestParameterDescriptor::InitializePlatformSpecific( | 97 void FastNewRestParameterDescriptor::InitializePlatformSpecific( |
| 98 CallInterfaceDescriptorData* data) { | 98 CallInterfaceDescriptorData* data) { |
| 99 Register registers[] = {r1}; | 99 Register registers[] = {r1}; |
| 100 data->InitializePlatformSpecific(arraysize(registers), registers); | 100 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 101 } | 101 } |
| 102 | 102 |
| 103 | 103 |
| 104 void FastNewStrictArgumentsDescriptor::InitializePlatformSpecific( |
| 105 CallInterfaceDescriptorData* data) { |
| 106 Register registers[] = {r1}; |
| 107 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 108 } |
| 109 |
| 110 |
| 104 void ToNumberDescriptor::InitializePlatformSpecific( | 111 void ToNumberDescriptor::InitializePlatformSpecific( |
| 105 CallInterfaceDescriptorData* data) { | 112 CallInterfaceDescriptorData* data) { |
| 106 Register registers[] = {r0}; | 113 Register registers[] = {r0}; |
| 107 data->InitializePlatformSpecific(arraysize(registers), registers); | 114 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 108 } | 115 } |
| 109 | 116 |
| 110 | 117 |
| 111 // static | 118 // static |
| 112 const Register ToLengthDescriptor::ReceiverRegister() { return r0; } | 119 const Register ToLengthDescriptor::ReceiverRegister() { return r0; } |
| 113 | 120 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 r2, // address of first argument (argv) | 475 r2, // address of first argument (argv) |
| 469 r1 // the runtime function to call | 476 r1 // the runtime function to call |
| 470 }; | 477 }; |
| 471 data->InitializePlatformSpecific(arraysize(registers), registers); | 478 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 472 } | 479 } |
| 473 | 480 |
| 474 } // namespace internal | 481 } // namespace internal |
| 475 } // namespace v8 | 482 } // namespace v8 |
| 476 | 483 |
| 477 #endif // V8_TARGET_ARCH_ARM | 484 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |