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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 } | 240 } |
241 | 241 |
242 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 242 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
243 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ | 243 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
244 CallInterfaceDescriptorData* data) { \ | 244 CallInterfaceDescriptorData* data) { \ |
245 data->InitializePlatformSpecific(0, nullptr, nullptr); \ | 245 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
246 } | 246 } |
247 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 247 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
248 #undef SIMD128_ALLOC_DESC | 248 #undef SIMD128_ALLOC_DESC |
249 | 249 |
250 void AllocateDescriptor::InitializePlatformSpecific( | |
251 CallInterfaceDescriptorData* data) { | |
252 Register registers[] = {r0}; | |
253 data->InitializePlatformSpecific(arraysize(registers), registers); | |
254 } | |
255 | |
256 | |
257 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 250 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
258 CallInterfaceDescriptorData* data) { | 251 CallInterfaceDescriptorData* data) { |
259 // register state | 252 // register state |
260 // r0 -- number of arguments | 253 // r0 -- number of arguments |
261 // r1 -- function | 254 // r1 -- function |
262 // r2 -- allocation site with elements kind | 255 // r2 -- allocation site with elements kind |
263 Register registers[] = {r1, r2}; | 256 Register registers[] = {r1, r2}; |
264 data->InitializePlatformSpecific(arraysize(registers), registers); | 257 data->InitializePlatformSpecific(arraysize(registers), registers); |
265 } | 258 } |
266 | 259 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 r1, // the JSGeneratorObject to resume | 438 r1, // the JSGeneratorObject to resume |
446 r2 // the resume mode (tagged) | 439 r2 // the resume mode (tagged) |
447 }; | 440 }; |
448 data->InitializePlatformSpecific(arraysize(registers), registers); | 441 data->InitializePlatformSpecific(arraysize(registers), registers); |
449 } | 442 } |
450 | 443 |
451 } // namespace internal | 444 } // namespace internal |
452 } // namespace v8 | 445 } // namespace v8 |
453 | 446 |
454 #endif // V8_TARGET_ARCH_ARM | 447 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |