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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 250 void AllocateDescriptor::InitializePlatformSpecific( |
251 CallInterfaceDescriptorData* data) { | 251 CallInterfaceDescriptorData* data) { |
252 Register registers[] = {r1}; | 252 Register registers[] = {r0}; |
253 data->InitializePlatformSpecific(arraysize(registers), registers); | 253 data->InitializePlatformSpecific(arraysize(registers), registers); |
254 } | 254 } |
255 | 255 |
256 | 256 |
257 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 257 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
258 CallInterfaceDescriptorData* data) { | 258 CallInterfaceDescriptorData* data) { |
259 // register state | 259 // register state |
260 // r0 -- number of arguments | 260 // r0 -- number of arguments |
261 // r1 -- function | 261 // r1 -- function |
262 // r2 -- allocation site with elements kind | 262 // r2 -- allocation site with elements kind |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 r1, // the JSGeneratorObject to resume | 445 r1, // the JSGeneratorObject to resume |
446 r2 // the resume mode (tagged) | 446 r2 // the resume mode (tagged) |
447 }; | 447 }; |
448 data->InitializePlatformSpecific(arraysize(registers), registers); | 448 data->InitializePlatformSpecific(arraysize(registers), registers); |
449 } | 449 } |
450 | 450 |
451 } // namespace internal | 451 } // namespace internal |
452 } // namespace v8 | 452 } // namespace v8 |
453 | 453 |
454 #endif // V8_TARGET_ARCH_ARM | 454 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |