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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 CallInterfaceDescriptorData* data) { | 174 CallInterfaceDescriptorData* data) { |
175 Register registers[] = {r2, r3}; | 175 Register registers[] = {r2, r3}; |
176 data->InitializePlatformSpecific(arraysize(registers), registers); | 176 data->InitializePlatformSpecific(arraysize(registers), registers); |
177 } | 177 } |
178 | 178 |
179 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 179 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
180 CallInterfaceDescriptorData* data) { | 180 CallInterfaceDescriptorData* data) { |
181 data->InitializePlatformSpecific(0, nullptr, nullptr); | 181 data->InitializePlatformSpecific(0, nullptr, nullptr); |
182 } | 182 } |
183 | 183 |
| 184 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 185 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 186 CallInterfaceDescriptorData* data) { \ |
| 187 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 188 } |
| 189 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 190 #undef SIMD128_ALLOC_DESC |
| 191 |
184 void ArrayConstructorDescriptor::InitializePlatformSpecific( | 192 void ArrayConstructorDescriptor::InitializePlatformSpecific( |
185 CallInterfaceDescriptorData* data) { | 193 CallInterfaceDescriptorData* data) { |
186 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite | 194 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite |
187 Register registers[] = {r3, r5, r2, r4}; | 195 Register registers[] = {r3, r5, r2, r4}; |
188 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 196 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
189 } | 197 } |
190 | 198 |
191 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( | 199 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
192 CallInterfaceDescriptorData* data) { | 200 CallInterfaceDescriptorData* data) { |
193 // register state | 201 // register state |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 Register registers[] = { | 383 Register registers[] = { |
376 r3, // loaded new FP | 384 r3, // loaded new FP |
377 }; | 385 }; |
378 data->InitializePlatformSpecific(arraysize(registers), registers); | 386 data->InitializePlatformSpecific(arraysize(registers), registers); |
379 } | 387 } |
380 | 388 |
381 } // namespace internal | 389 } // namespace internal |
382 } // namespace v8 | 390 } // namespace v8 |
383 | 391 |
384 #endif // V8_TARGET_ARCH_S390 | 392 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |