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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 Register registers[] = {r0, r1}; | 233 Register registers[] = {r0, r1}; |
234 data->InitializePlatformSpecific(arraysize(registers), registers); | 234 data->InitializePlatformSpecific(arraysize(registers), registers); |
235 } | 235 } |
236 | 236 |
237 | 237 |
238 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 238 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
239 CallInterfaceDescriptorData* data) { | 239 CallInterfaceDescriptorData* data) { |
240 data->InitializePlatformSpecific(0, nullptr, nullptr); | 240 data->InitializePlatformSpecific(0, nullptr, nullptr); |
241 } | 241 } |
242 | 242 |
| 243 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 244 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 245 CallInterfaceDescriptorData* data) { \ |
| 246 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 247 } |
| 248 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 249 #undef SIMD128_ALLOC_DESC |
243 | 250 |
244 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 251 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
245 CallInterfaceDescriptorData* data) { | 252 CallInterfaceDescriptorData* data) { |
246 Register registers[] = {r0}; | 253 Register registers[] = {r0}; |
247 data->InitializePlatformSpecific(arraysize(registers), registers); | 254 data->InitializePlatformSpecific(arraysize(registers), registers); |
248 } | 255 } |
249 | 256 |
250 | 257 |
251 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 258 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
252 CallInterfaceDescriptorData* data) { | 259 CallInterfaceDescriptorData* data) { |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 r2, // address of first argument (argv) | 426 r2, // address of first argument (argv) |
420 r1 // the runtime function to call | 427 r1 // the runtime function to call |
421 }; | 428 }; |
422 data->InitializePlatformSpecific(arraysize(registers), registers); | 429 data->InitializePlatformSpecific(arraysize(registers), registers); |
423 } | 430 } |
424 | 431 |
425 } // namespace internal | 432 } // namespace internal |
426 } // namespace v8 | 433 } // namespace v8 |
427 | 434 |
428 #endif // V8_TARGET_ARCH_ARM | 435 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |