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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( | 231 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
232 CallInterfaceDescriptorData* data) { | 232 CallInterfaceDescriptorData* data) { |
233 // register state | 233 // register state |
234 // r2 -- number of arguments | 234 // r2 -- number of arguments |
235 // r3 -- function | 235 // r3 -- function |
236 // r4 -- allocation site with elements kind | 236 // r4 -- allocation site with elements kind |
237 Register registers[] = {r3, r4, r2}; | 237 Register registers[] = {r3, r4, r2}; |
238 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 238 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
239 } | 239 } |
240 | 240 |
241 void ArrayConstructorDescriptor::InitializePlatformSpecific( | 241 void ArrayNArgumentsConstructorDescriptor::InitializePlatformSpecific( |
242 CallInterfaceDescriptorData* data) { | 242 CallInterfaceDescriptorData* data) { |
243 // stack param count needs (constructor pointer, and single argument) | 243 // stack param count needs (constructor pointer, and single argument) |
244 Register registers[] = {r3, r4, r2}; | 244 Register registers[] = {r3, r4, r2}; |
245 data->InitializePlatformSpecific(arraysize(registers), registers); | 245 data->InitializePlatformSpecific(arraysize(registers), registers); |
246 } | 246 } |
247 | 247 |
248 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | |
249 CallInterfaceDescriptorData* data) { | |
250 // stack param count needs (constructor pointer, and single argument) | |
251 Register registers[] = {r3, r2}; | |
252 data->InitializePlatformSpecific(arraysize(registers), registers); | |
253 } | |
254 | |
255 void VarArgFunctionDescriptor::InitializePlatformSpecific( | 248 void VarArgFunctionDescriptor::InitializePlatformSpecific( |
256 CallInterfaceDescriptorData* data) { | 249 CallInterfaceDescriptorData* data) { |
257 // stack param count needs (arg count) | 250 // stack param count needs (arg count) |
258 Register registers[] = {r2}; | 251 Register registers[] = {r2}; |
259 data->InitializePlatformSpecific(arraysize(registers), registers); | 252 data->InitializePlatformSpecific(arraysize(registers), registers); |
260 } | 253 } |
261 | 254 |
262 void CompareDescriptor::InitializePlatformSpecific( | 255 void CompareDescriptor::InitializePlatformSpecific( |
263 CallInterfaceDescriptorData* data) { | 256 CallInterfaceDescriptorData* data) { |
264 Register registers[] = {r3, r2}; | 257 Register registers[] = {r3, r2}; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 r3, // the JSGeneratorObject to resume | 374 r3, // the JSGeneratorObject to resume |
382 r4 // the resume mode (tagged) | 375 r4 // the resume mode (tagged) |
383 }; | 376 }; |
384 data->InitializePlatformSpecific(arraysize(registers), registers); | 377 data->InitializePlatformSpecific(arraysize(registers), registers); |
385 } | 378 } |
386 | 379 |
387 } // namespace internal | 380 } // namespace internal |
388 } // namespace v8 | 381 } // namespace v8 |
389 | 382 |
390 #endif // V8_TARGET_ARCH_S390 | 383 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |