| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 void ConstructTrampolineDescriptor::InitializePlatformSpecific( | 200 void ConstructTrampolineDescriptor::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 // r3 : the new target | 204 // r3 : the new target |
| 205 Register registers[] = {r1, r3, r0}; | 205 Register registers[] = {r1, r3, r0}; |
| 206 data->InitializePlatformSpecific(arraysize(registers), registers); | 206 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 207 } | 207 } |
| 208 | 208 |
| 209 | 209 |
| 210 void RegExpConstructResultDescriptor::InitializePlatformSpecific( | |
| 211 CallInterfaceDescriptorData* data) { | |
| 212 Register registers[] = {r2, r1, r0}; | |
| 213 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 214 } | |
| 215 | |
| 216 | |
| 217 void TransitionElementsKindDescriptor::InitializePlatformSpecific( | 210 void TransitionElementsKindDescriptor::InitializePlatformSpecific( |
| 218 CallInterfaceDescriptorData* data) { | 211 CallInterfaceDescriptorData* data) { |
| 219 Register registers[] = {r0, r1}; | 212 Register registers[] = {r0, r1}; |
| 220 data->InitializePlatformSpecific(arraysize(registers), registers); | 213 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 221 } | 214 } |
| 222 | 215 |
| 223 | 216 |
| 224 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 217 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 225 CallInterfaceDescriptorData* data) { | 218 CallInterfaceDescriptorData* data) { |
| 226 data->InitializePlatformSpecific(0, nullptr, nullptr); | 219 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 r1, // the JSGeneratorObject to resume | 433 r1, // the JSGeneratorObject to resume |
| 441 r2 // the resume mode (tagged) | 434 r2 // the resume mode (tagged) |
| 442 }; | 435 }; |
| 443 data->InitializePlatformSpecific(arraysize(registers), registers); | 436 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 444 } | 437 } |
| 445 | 438 |
| 446 } // namespace internal | 439 } // namespace internal |
| 447 } // namespace v8 | 440 } // namespace v8 |
| 448 | 441 |
| 449 #endif // V8_TARGET_ARCH_ARM | 442 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |