OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #if V8_TARGET_ARCH_S390 | 5 #if V8_TARGET_ARCH_S390 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 } | 205 } |
206 | 206 |
207 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 207 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
208 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ | 208 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
209 CallInterfaceDescriptorData* data) { \ | 209 CallInterfaceDescriptorData* data) { \ |
210 data->InitializePlatformSpecific(0, nullptr, nullptr); \ | 210 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
211 } | 211 } |
212 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 212 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
213 #undef SIMD128_ALLOC_DESC | 213 #undef SIMD128_ALLOC_DESC |
214 | 214 |
215 void AllocateDescriptor::InitializePlatformSpecific( | |
216 CallInterfaceDescriptorData* data) { | |
217 Register registers[] = {r2}; | |
218 data->InitializePlatformSpecific(arraysize(registers), registers); | |
219 } | |
220 | |
221 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 215 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
222 CallInterfaceDescriptorData* data) { | 216 CallInterfaceDescriptorData* data) { |
223 // register state | 217 // register state |
224 // r2 -- number of arguments | 218 // r2 -- number of arguments |
225 // r3 -- function | 219 // r3 -- function |
226 // r4 -- allocation site with elements kind | 220 // r4 -- allocation site with elements kind |
227 Register registers[] = {r3, r4}; | 221 Register registers[] = {r3, r4}; |
228 data->InitializePlatformSpecific(arraysize(registers), registers); | 222 data->InitializePlatformSpecific(arraysize(registers), registers); |
229 } | 223 } |
230 | 224 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 r3, // the JSGeneratorObject to resume | 374 r3, // the JSGeneratorObject to resume |
381 r4 // the resume mode (tagged) | 375 r4 // the resume mode (tagged) |
382 }; | 376 }; |
383 data->InitializePlatformSpecific(arraysize(registers), registers); | 377 data->InitializePlatformSpecific(arraysize(registers), registers); |
384 } | 378 } |
385 | 379 |
386 } // namespace internal | 380 } // namespace internal |
387 } // namespace v8 | 381 } // namespace v8 |
388 | 382 |
389 #endif // V8_TARGET_ARCH_S390 | 383 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |