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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 Register registers[] = {x0, x1}; | 282 Register registers[] = {x0, x1}; |
283 data->InitializePlatformSpecific(arraysize(registers), registers); | 283 data->InitializePlatformSpecific(arraysize(registers), registers); |
284 } | 284 } |
285 | 285 |
286 | 286 |
287 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 287 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
288 CallInterfaceDescriptorData* data) { | 288 CallInterfaceDescriptorData* data) { |
289 data->InitializePlatformSpecific(0, nullptr, nullptr); | 289 data->InitializePlatformSpecific(0, nullptr, nullptr); |
290 } | 290 } |
291 | 291 |
| 292 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 293 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 294 CallInterfaceDescriptorData* data) { \ |
| 295 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 296 } |
| 297 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 298 #undef SIMD128_ALLOC_DESC |
292 | 299 |
293 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 300 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
294 CallInterfaceDescriptorData* data) { | 301 CallInterfaceDescriptorData* data) { |
295 Register registers[] = {x0}; | 302 Register registers[] = {x0}; |
296 data->InitializePlatformSpecific(arraysize(registers), registers); | 303 data->InitializePlatformSpecific(arraysize(registers), registers); |
297 } | 304 } |
298 | 305 |
299 | 306 |
300 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 307 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
301 CallInterfaceDescriptorData* data) { | 308 CallInterfaceDescriptorData* data) { |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 x1 // the runtime function to call | 517 x1 // the runtime function to call |
511 }; | 518 }; |
512 data->InitializePlatformSpecific(arraysize(registers), registers); | 519 data->InitializePlatformSpecific(arraysize(registers), registers); |
513 } | 520 } |
514 | 521 |
515 | 522 |
516 } // namespace internal | 523 } // namespace internal |
517 } // namespace v8 | 524 } // namespace v8 |
518 | 525 |
519 #endif // V8_TARGET_ARCH_ARM64 | 526 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |