| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 CallInterfaceDescriptorData* data) { | 315 CallInterfaceDescriptorData* data) { |
| 316 Register registers[] = { | 316 Register registers[] = { |
| 317 r3, // JSFunction | 317 r3, // JSFunction |
| 318 r5, // the new target | 318 r5, // the new target |
| 319 r2, // actual number of arguments | 319 r2, // actual number of arguments |
| 320 r4, // expected number of arguments | 320 r4, // expected number of arguments |
| 321 }; | 321 }; |
| 322 data->InitializePlatformSpecific(arraysize(registers), registers); | 322 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 323 } | 323 } |
| 324 | 324 |
| 325 void ApiCallbackDescriptorBase::InitializePlatformSpecific( | 325 void ApiCallbackDescriptor::InitializePlatformSpecific( |
| 326 CallInterfaceDescriptorData* data) { | 326 CallInterfaceDescriptorData* data) { |
| 327 Register registers[] = { | 327 Register registers[] = { |
| 328 r2, // callee | 328 r2, // callee |
| 329 r6, // call_data | 329 r6, // call_data |
| 330 r4, // holder | 330 r4, // holder |
| 331 r3, // api_function_address | 331 r3, // api_function_address |
| 332 }; | 332 }; |
| 333 data->InitializePlatformSpecific(arraysize(registers), registers); | 333 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 334 } | 334 } |
| 335 | 335 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 r3, // the JSGeneratorObject to resume | 391 r3, // the JSGeneratorObject to resume |
| 392 r4 // the resume mode (tagged) | 392 r4 // the resume mode (tagged) |
| 393 }; | 393 }; |
| 394 data->InitializePlatformSpecific(arraysize(registers), registers); | 394 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 395 } | 395 } |
| 396 | 396 |
| 397 } // namespace internal | 397 } // namespace internal |
| 398 } // namespace v8 | 398 } // namespace v8 |
| 399 | 399 |
| 400 #endif // V8_TARGET_ARCH_S390 | 400 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |