| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 void ResumeGeneratorDescriptor::InitializePlatformSpecific( | 382 void ResumeGeneratorDescriptor::InitializePlatformSpecific( |
| 383 CallInterfaceDescriptorData* data) { | 383 CallInterfaceDescriptorData* data) { |
| 384 Register registers[] = { | 384 Register registers[] = { |
| 385 r2, // the value to pass to the generator | 385 r2, // the value to pass to the generator |
| 386 r3, // the JSGeneratorObject to resume | 386 r3, // the JSGeneratorObject to resume |
| 387 r4 // the resume mode (tagged) | 387 r4 // the resume mode (tagged) |
| 388 }; | 388 }; |
| 389 data->InitializePlatformSpecific(arraysize(registers), registers); | 389 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 390 } | 390 } |
| 391 | 391 |
| 392 void FrameDropperTrampolineDescriptor::InitializePlatformSpecific( |
| 393 CallInterfaceDescriptorData* data) { |
| 394 Register registers[] = { |
| 395 r3, // loaded new FP |
| 396 }; |
| 397 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 398 } |
| 399 |
| 392 } // namespace internal | 400 } // namespace internal |
| 393 } // namespace v8 | 401 } // namespace v8 |
| 394 | 402 |
| 395 #endif // V8_TARGET_ARCH_S390 | 403 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |