| 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/arm64/interface-descriptors-arm64.h" | 5 #include "src/arm64/interface-descriptors-arm64.h" | 
| 6 | 6 | 
| 7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 | 
| 8 | 8 | 
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" | 
| 10 | 10 | 
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 210   Register registers[] = {x0, x1}; | 210   Register registers[] = {x0, x1}; | 
| 211   data->InitializePlatformSpecific(arraysize(registers), registers); | 211   data->InitializePlatformSpecific(arraysize(registers), registers); | 
| 212 } | 212 } | 
| 213 | 213 | 
| 214 | 214 | 
| 215 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 215 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 
| 216     CallInterfaceDescriptorData* data) { | 216     CallInterfaceDescriptorData* data) { | 
| 217   data->InitializePlatformSpecific(0, nullptr, nullptr); | 217   data->InitializePlatformSpecific(0, nullptr, nullptr); | 
| 218 } | 218 } | 
| 219 | 219 | 
|  | 220 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 
|  | 221   void Allocate##Type##Descriptor::InitializePlatformSpecific(      \ | 
|  | 222       CallInterfaceDescriptorData* data) {                          \ | 
|  | 223     data->InitializePlatformSpecific(0, nullptr, nullptr);          \ | 
|  | 224   } | 
|  | 225 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 
|  | 226 #undef SIMD128_ALLOC_DESC | 
|  | 227 | 
| 220 void ArrayConstructorDescriptor::InitializePlatformSpecific( | 228 void ArrayConstructorDescriptor::InitializePlatformSpecific( | 
| 221     CallInterfaceDescriptorData* data) { | 229     CallInterfaceDescriptorData* data) { | 
| 222   // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite | 230   // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite | 
| 223   Register registers[] = {x1, x3, x0, x2}; | 231   Register registers[] = {x1, x3, x0, x2}; | 
| 224   data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 232   data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 
| 225 } | 233 } | 
| 226 | 234 | 
| 227 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( | 235 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( | 
| 228     CallInterfaceDescriptorData* data) { | 236     CallInterfaceDescriptorData* data) { | 
| 229   // register state | 237   // register state | 
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 446   Register registers[] = { | 454   Register registers[] = { | 
| 447       x1,  // loaded new FP | 455       x1,  // loaded new FP | 
| 448   }; | 456   }; | 
| 449   data->InitializePlatformSpecific(arraysize(registers), registers); | 457   data->InitializePlatformSpecific(arraysize(registers), registers); | 
| 450 } | 458 } | 
| 451 | 459 | 
| 452 }  // namespace internal | 460 }  // namespace internal | 
| 453 }  // namespace v8 | 461 }  // namespace v8 | 
| 454 | 462 | 
| 455 #endif  // V8_TARGET_ARCH_ARM64 | 463 #endif  // V8_TARGET_ARCH_ARM64 | 
| OLD | NEW | 
|---|