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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 Register registers[] = {x0, x1}; | 258 Register registers[] = {x0, x1}; |
259 data->InitializePlatformSpecific(arraysize(registers), registers); | 259 data->InitializePlatformSpecific(arraysize(registers), registers); |
260 } | 260 } |
261 | 261 |
262 | 262 |
263 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 263 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
264 CallInterfaceDescriptorData* data) { | 264 CallInterfaceDescriptorData* data) { |
265 data->InitializePlatformSpecific(0, nullptr, nullptr); | 265 data->InitializePlatformSpecific(0, nullptr, nullptr); |
266 } | 266 } |
267 | 267 |
| 268 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 269 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 270 CallInterfaceDescriptorData* data) { \ |
| 271 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 272 } |
| 273 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 274 #undef SIMD128_ALLOC_DESC |
268 | 275 |
269 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 276 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
270 CallInterfaceDescriptorData* data) { | 277 CallInterfaceDescriptorData* data) { |
271 Register registers[] = {x0}; | 278 Register registers[] = {x0}; |
272 data->InitializePlatformSpecific(arraysize(registers), registers); | 279 data->InitializePlatformSpecific(arraysize(registers), registers); |
273 } | 280 } |
274 | 281 |
275 | 282 |
276 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 283 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
277 CallInterfaceDescriptorData* data) { | 284 CallInterfaceDescriptorData* data) { |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 x1 // the runtime function to call | 459 x1 // the runtime function to call |
453 }; | 460 }; |
454 data->InitializePlatformSpecific(arraysize(registers), registers); | 461 data->InitializePlatformSpecific(arraysize(registers), registers); |
455 } | 462 } |
456 | 463 |
457 | 464 |
458 } // namespace internal | 465 } // namespace internal |
459 } // namespace v8 | 466 } // namespace v8 |
460 | 467 |
461 #endif // V8_TARGET_ARCH_ARM64 | 468 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |