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 | |
192 void ArrayConstructorDescriptor::InitializePlatformSpecific( | 184 void ArrayConstructorDescriptor::InitializePlatformSpecific( |
193 CallInterfaceDescriptorData* data) { | 185 CallInterfaceDescriptorData* data) { |
194 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite | 186 // kTarget, kNewTarget, kActualArgumentsCount, kAllocationSite |
195 Register registers[] = {r3, r5, r2, r4}; | 187 Register registers[] = {r3, r5, r2, r4}; |
196 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 188 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
197 } | 189 } |
198 | 190 |
199 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( | 191 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
200 CallInterfaceDescriptorData* data) { | 192 CallInterfaceDescriptorData* data) { |
201 // register state | 193 // register state |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 Register registers[] = { | 375 Register registers[] = { |
384 r3, // loaded new FP | 376 r3, // loaded new FP |
385 }; | 377 }; |
386 data->InitializePlatformSpecific(arraysize(registers), registers); | 378 data->InitializePlatformSpecific(arraysize(registers), registers); |
387 } | 379 } |
388 | 380 |
389 } // namespace internal | 381 } // namespace internal |
390 } // namespace v8 | 382 } // namespace v8 |
391 | 383 |
392 #endif // V8_TARGET_ARCH_S390 | 384 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |