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 ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
| 251 CallInterfaceDescriptorData* data) { |
| 252 // register state |
| 253 // r0 -- number of arguments |
| 254 // r1 -- function |
| 255 // r2 -- allocation site with elements kind |
| 256 Register registers[] = {r1, r2, r0}; |
| 257 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 258 } |
| 259 |
250 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 260 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
251 CallInterfaceDescriptorData* data) { | 261 CallInterfaceDescriptorData* data) { |
252 // register state | 262 // register state |
253 // r0 -- number of arguments | 263 // r0 -- number of arguments |
254 // r1 -- function | 264 // r1 -- function |
255 // r2 -- allocation site with elements kind | 265 // r2 -- allocation site with elements kind |
256 Register registers[] = {r1, r2}; | 266 Register registers[] = {r1, r2}; |
257 data->InitializePlatformSpecific(arraysize(registers), registers); | 267 data->InitializePlatformSpecific(arraysize(registers), registers); |
258 } | 268 } |
259 | 269 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 r1, // the JSGeneratorObject to resume | 448 r1, // the JSGeneratorObject to resume |
439 r2 // the resume mode (tagged) | 449 r2 // the resume mode (tagged) |
440 }; | 450 }; |
441 data->InitializePlatformSpecific(arraysize(registers), registers); | 451 data->InitializePlatformSpecific(arraysize(registers), registers); |
442 } | 452 } |
443 | 453 |
444 } // namespace internal | 454 } // namespace internal |
445 } // namespace v8 | 455 } // namespace v8 |
446 | 456 |
447 #endif // V8_TARGET_ARCH_ARM | 457 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |