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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 data->InitializePlatformSpecific(arraysize(registers), registers); | 243 data->InitializePlatformSpecific(arraysize(registers), registers); |
244 } | 244 } |
245 | 245 |
246 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 246 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
247 CallInterfaceDescriptorData* data) { | 247 CallInterfaceDescriptorData* data) { |
248 // stack param count needs (constructor pointer, and single argument) | 248 // stack param count needs (constructor pointer, and single argument) |
249 Register registers[] = {r3, r2}; | 249 Register registers[] = {r3, r2}; |
250 data->InitializePlatformSpecific(arraysize(registers), registers); | 250 data->InitializePlatformSpecific(arraysize(registers), registers); |
251 } | 251 } |
252 | 252 |
| 253 void FastArrayPushDescriptor::InitializePlatformSpecific( |
| 254 CallInterfaceDescriptorData* data) { |
| 255 // stack param count needs (arg count) |
| 256 Register registers[] = {r2}; |
| 257 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 258 } |
| 259 |
253 void CompareDescriptor::InitializePlatformSpecific( | 260 void CompareDescriptor::InitializePlatformSpecific( |
254 CallInterfaceDescriptorData* data) { | 261 CallInterfaceDescriptorData* data) { |
255 Register registers[] = {r3, r2}; | 262 Register registers[] = {r3, r2}; |
256 data->InitializePlatformSpecific(arraysize(registers), registers); | 263 data->InitializePlatformSpecific(arraysize(registers), registers); |
257 } | 264 } |
258 | 265 |
259 void BinaryOpDescriptor::InitializePlatformSpecific( | 266 void BinaryOpDescriptor::InitializePlatformSpecific( |
260 CallInterfaceDescriptorData* data) { | 267 CallInterfaceDescriptorData* data) { |
261 Register registers[] = {r3, r2}; | 268 Register registers[] = {r3, r2}; |
262 data->InitializePlatformSpecific(arraysize(registers), registers); | 269 data->InitializePlatformSpecific(arraysize(registers), registers); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 r4, // address of first argument (argv) | 364 r4, // address of first argument (argv) |
358 r3 // the runtime function to call | 365 r3 // the runtime function to call |
359 }; | 366 }; |
360 data->InitializePlatformSpecific(arraysize(registers), registers); | 367 data->InitializePlatformSpecific(arraysize(registers), registers); |
361 } | 368 } |
362 | 369 |
363 } // namespace internal | 370 } // namespace internal |
364 } // namespace v8 | 371 } // namespace v8 |
365 | 372 |
366 #endif // V8_TARGET_ARCH_S390 | 373 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |