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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 data->InitializePlatformSpecific(arraysize(registers), registers); | 245 data->InitializePlatformSpecific(arraysize(registers), registers); |
246 } | 246 } |
247 | 247 |
248 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 248 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
249 CallInterfaceDescriptorData* data) { | 249 CallInterfaceDescriptorData* data) { |
250 // stack param count needs (constructor pointer, and single argument) | 250 // stack param count needs (constructor pointer, and single argument) |
251 Register registers[] = {r3, r2}; | 251 Register registers[] = {r3, r2}; |
252 data->InitializePlatformSpecific(arraysize(registers), registers); | 252 data->InitializePlatformSpecific(arraysize(registers), registers); |
253 } | 253 } |
254 | 254 |
255 void FastArrayPushDescriptor::InitializePlatformSpecific( | 255 void VarArgFunctionDescriptor::InitializePlatformSpecific( |
256 CallInterfaceDescriptorData* data) { | 256 CallInterfaceDescriptorData* data) { |
257 // stack param count needs (arg count) | 257 // stack param count needs (arg count) |
258 Register registers[] = {r2}; | 258 Register registers[] = {r2}; |
259 data->InitializePlatformSpecific(arraysize(registers), registers); | 259 data->InitializePlatformSpecific(arraysize(registers), registers); |
260 } | 260 } |
261 | 261 |
262 void CompareDescriptor::InitializePlatformSpecific( | 262 void CompareDescriptor::InitializePlatformSpecific( |
263 CallInterfaceDescriptorData* data) { | 263 CallInterfaceDescriptorData* data) { |
264 Register registers[] = {r3, r2}; | 264 Register registers[] = {r3, r2}; |
265 data->InitializePlatformSpecific(arraysize(registers), registers); | 265 data->InitializePlatformSpecific(arraysize(registers), registers); |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 r3, // the JSGeneratorObject to resume | 381 r3, // the JSGeneratorObject to resume |
382 r4 // the resume mode (tagged) | 382 r4 // the resume mode (tagged) |
383 }; | 383 }; |
384 data->InitializePlatformSpecific(arraysize(registers), registers); | 384 data->InitializePlatformSpecific(arraysize(registers), registers); |
385 } | 385 } |
386 | 386 |
387 } // namespace internal | 387 } // namespace internal |
388 } // namespace v8 | 388 } // namespace v8 |
389 | 389 |
390 #endif // V8_TARGET_ARCH_S390 | 390 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |