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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 CallInterfaceDescriptorData* data) { | 196 CallInterfaceDescriptorData* data) { |
197 Register registers[] = {r2, r3}; | 197 Register registers[] = {r2, r3}; |
198 data->InitializePlatformSpecific(arraysize(registers), registers); | 198 data->InitializePlatformSpecific(arraysize(registers), registers); |
199 } | 199 } |
200 | 200 |
201 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 201 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
202 CallInterfaceDescriptorData* data) { | 202 CallInterfaceDescriptorData* data) { |
203 data->InitializePlatformSpecific(0, nullptr, nullptr); | 203 data->InitializePlatformSpecific(0, nullptr, nullptr); |
204 } | 204 } |
205 | 205 |
| 206 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 207 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 208 CallInterfaceDescriptorData* data) { \ |
| 209 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 210 } |
| 211 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 212 #undef SIMD128_ALLOC_DESC |
| 213 |
206 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 214 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
207 CallInterfaceDescriptorData* data) { | 215 CallInterfaceDescriptorData* data) { |
208 Register registers[] = {r2}; | 216 Register registers[] = {r2}; |
209 data->InitializePlatformSpecific(arraysize(registers), registers); | 217 data->InitializePlatformSpecific(arraysize(registers), registers); |
210 } | 218 } |
211 | 219 |
212 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 220 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
213 CallInterfaceDescriptorData* data) { | 221 CallInterfaceDescriptorData* data) { |
214 // register state | 222 // register state |
215 // r2 -- number of arguments | 223 // r2 -- number of arguments |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 r4, // address of first argument (argv) | 357 r4, // address of first argument (argv) |
350 r3 // the runtime function to call | 358 r3 // the runtime function to call |
351 }; | 359 }; |
352 data->InitializePlatformSpecific(arraysize(registers), registers); | 360 data->InitializePlatformSpecific(arraysize(registers), registers); |
353 } | 361 } |
354 | 362 |
355 } // namespace internal | 363 } // namespace internal |
356 } // namespace v8 | 364 } // namespace v8 |
357 | 365 |
358 #endif // V8_TARGET_ARCH_S390 | 366 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |