| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 154 } | 154 } | 
| 155 | 155 | 
| 156 void CallTrampolineDescriptor::InitializePlatformSpecific( | 156 void CallTrampolineDescriptor::InitializePlatformSpecific( | 
| 157     CallInterfaceDescriptorData* data) { | 157     CallInterfaceDescriptorData* data) { | 
| 158   // r2 : number of arguments | 158   // r2 : number of arguments | 
| 159   // r3 : the target to call | 159   // r3 : the target to call | 
| 160   Register registers[] = {r3, r2}; | 160   Register registers[] = {r3, r2}; | 
| 161   data->InitializePlatformSpecific(arraysize(registers), registers); | 161   data->InitializePlatformSpecific(arraysize(registers), registers); | 
| 162 } | 162 } | 
| 163 | 163 | 
|  | 164 void CallForwardVarargsDescriptor::InitializePlatformSpecific( | 
|  | 165     CallInterfaceDescriptorData* data) { | 
|  | 166   // r4 : start index (to support rest parameters) | 
|  | 167   // r3 : the target to call | 
|  | 168   Register registers[] = {r3, r4}; | 
|  | 169   data->InitializePlatformSpecific(arraysize(registers), registers); | 
|  | 170 } | 
|  | 171 | 
| 164 void ConstructStubDescriptor::InitializePlatformSpecific( | 172 void ConstructStubDescriptor::InitializePlatformSpecific( | 
| 165     CallInterfaceDescriptorData* data) { | 173     CallInterfaceDescriptorData* data) { | 
| 166   // r2 : number of arguments | 174   // r2 : number of arguments | 
| 167   // r3 : the target to call | 175   // r3 : the target to call | 
| 168   // r5 : the new target | 176   // r5 : the new target | 
| 169   // r4 : allocation site or undefined | 177   // r4 : allocation site or undefined | 
| 170   Register registers[] = {r3, r5, r2, r4}; | 178   Register registers[] = {r3, r5, r2, r4}; | 
| 171   data->InitializePlatformSpecific(arraysize(registers), registers); | 179   data->InitializePlatformSpecific(arraysize(registers), registers); | 
| 172 } | 180 } | 
| 173 | 181 | 
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 378       r3,  // the JSGeneratorObject to resume | 386       r3,  // the JSGeneratorObject to resume | 
| 379       r4   // the resume mode (tagged) | 387       r4   // the resume mode (tagged) | 
| 380   }; | 388   }; | 
| 381   data->InitializePlatformSpecific(arraysize(registers), registers); | 389   data->InitializePlatformSpecific(arraysize(registers), registers); | 
| 382 } | 390 } | 
| 383 | 391 | 
| 384 }  // namespace internal | 392 }  // namespace internal | 
| 385 }  // namespace v8 | 393 }  // namespace v8 | 
| 386 | 394 | 
| 387 #endif  // V8_TARGET_ARCH_S390 | 395 #endif  // V8_TARGET_ARCH_S390 | 
| OLD | NEW | 
|---|