| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 199 |
| 200 void CallTrampolineDescriptor::InitializePlatformSpecific( | 200 void CallTrampolineDescriptor::InitializePlatformSpecific( |
| 201 CallInterfaceDescriptorData* data) { | 201 CallInterfaceDescriptorData* data) { |
| 202 // r0 : number of arguments | 202 // r0 : number of arguments |
| 203 // r1 : the target to call | 203 // r1 : the target to call |
| 204 Register registers[] = {r1, r0}; | 204 Register registers[] = {r1, r0}; |
| 205 data->InitializePlatformSpecific(arraysize(registers), registers); | 205 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 206 } | 206 } |
| 207 | 207 |
| 208 | 208 |
| 209 void ConstructTrampolineDescriptor::InitializePlatformSpecific( |
| 210 CallInterfaceDescriptorData* data) { |
| 211 // r0 : number of arguments |
| 212 // r1 : the target to call |
| 213 // r3 : the new target |
| 214 Register registers[] = {r1, r3, r0}; |
| 215 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 216 } |
| 217 |
| 218 |
| 209 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | 219 void RegExpConstructResultDescriptor::InitializePlatformSpecific( |
| 210 CallInterfaceDescriptorData* data) { | 220 CallInterfaceDescriptorData* data) { |
| 211 Register registers[] = {r2, r1, r0}; | 221 Register registers[] = {r2, r1, r0}; |
| 212 data->InitializePlatformSpecific(arraysize(registers), registers); | 222 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 213 } | 223 } |
| 214 | 224 |
| 215 | 225 |
| 216 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 226 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
| 217 CallInterfaceDescriptorData* data) { | 227 CallInterfaceDescriptorData* data) { |
| 218 Register registers[] = {r0, r1}; | 228 Register registers[] = {r0, r1}; |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 r2, // address of first argument (argv) | 461 r2, // address of first argument (argv) |
| 452 r1 // the runtime function to call | 462 r1 // the runtime function to call |
| 453 }; | 463 }; |
| 454 data->InitializePlatformSpecific(arraysize(registers), registers); | 464 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 455 } | 465 } |
| 456 | 466 |
| 457 } // namespace internal | 467 } // namespace internal |
| 458 } // namespace v8 | 468 } // namespace v8 |
| 459 | 469 |
| 460 #endif // V8_TARGET_ARCH_ARM | 470 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |