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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 } | 204 } |
205 | 205 |
206 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 206 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
207 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ | 207 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
208 CallInterfaceDescriptorData* data) { \ | 208 CallInterfaceDescriptorData* data) { \ |
209 data->InitializePlatformSpecific(0, nullptr, nullptr); \ | 209 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
210 } | 210 } |
211 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 211 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
212 #undef SIMD128_ALLOC_DESC | 212 #undef SIMD128_ALLOC_DESC |
213 | 213 |
214 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 214 void AllocateDescriptor::InitializePlatformSpecific( |
215 CallInterfaceDescriptorData* data) { | 215 CallInterfaceDescriptorData* data) { |
216 Register registers[] = {r2}; | 216 Register registers[] = {r2}; |
217 data->InitializePlatformSpecific(arraysize(registers), registers); | 217 data->InitializePlatformSpecific(arraysize(registers), registers); |
218 } | 218 } |
219 | 219 |
220 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 220 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
221 CallInterfaceDescriptorData* data) { | 221 CallInterfaceDescriptorData* data) { |
222 // register state | 222 // register state |
223 // r2 -- number of arguments | 223 // r2 -- number of arguments |
224 // r3 -- function | 224 // r3 -- function |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 r2, // the value to pass to the generator | 373 r2, // the value to pass to the generator |
374 r3, // the JSGeneratorObject to resume | 374 r3, // the JSGeneratorObject to resume |
375 r4 // the resume mode (tagged) | 375 r4 // the resume mode (tagged) |
376 }; | 376 }; |
377 data->InitializePlatformSpecific(arraysize(registers), registers); | 377 data->InitializePlatformSpecific(arraysize(registers), registers); |
378 } | 378 } |
379 } // namespace internal | 379 } // namespace internal |
380 } // namespace v8 | 380 } // namespace v8 |
381 | 381 |
382 #endif // V8_TARGET_ARCH_S390 | 382 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |