| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 Register registers[] = {r4}; | 262 Register registers[] = {r4}; |
| 263 data->InitializePlatformSpecific(arraysize(registers), registers); | 263 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 264 } | 264 } |
| 265 | 265 |
| 266 void StringAddDescriptor::InitializePlatformSpecific( | 266 void StringAddDescriptor::InitializePlatformSpecific( |
| 267 CallInterfaceDescriptorData* data) { | 267 CallInterfaceDescriptorData* data) { |
| 268 Register registers[] = {r3, r2}; | 268 Register registers[] = {r3, r2}; |
| 269 data->InitializePlatformSpecific(arraysize(registers), registers); | 269 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 270 } | 270 } |
| 271 | 271 |
| 272 void KeyedDescriptor::InitializePlatformSpecific( | |
| 273 CallInterfaceDescriptorData* data) { | |
| 274 Register registers[] = { | |
| 275 r4, // key | |
| 276 }; | |
| 277 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 278 } | |
| 279 | |
| 280 void NamedDescriptor::InitializePlatformSpecific( | |
| 281 CallInterfaceDescriptorData* data) { | |
| 282 Register registers[] = { | |
| 283 r4, // name | |
| 284 }; | |
| 285 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 286 } | |
| 287 | |
| 288 void CallHandlerDescriptor::InitializePlatformSpecific( | |
| 289 CallInterfaceDescriptorData* data) { | |
| 290 Register registers[] = { | |
| 291 r2, // receiver | |
| 292 }; | |
| 293 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 294 } | |
| 295 | |
| 296 void ArgumentAdaptorDescriptor::InitializePlatformSpecific( | 272 void ArgumentAdaptorDescriptor::InitializePlatformSpecific( |
| 297 CallInterfaceDescriptorData* data) { | 273 CallInterfaceDescriptorData* data) { |
| 298 Register registers[] = { | 274 Register registers[] = { |
| 299 r3, // JSFunction | 275 r3, // JSFunction |
| 300 r5, // the new target | 276 r5, // the new target |
| 301 r2, // actual number of arguments | 277 r2, // actual number of arguments |
| 302 r4, // expected number of arguments | 278 r4, // expected number of arguments |
| 303 }; | 279 }; |
| 304 data->InitializePlatformSpecific(arraysize(registers), registers); | 280 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 305 } | 281 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 Register registers[] = { | 358 Register registers[] = { |
| 383 r3, // loaded new FP | 359 r3, // loaded new FP |
| 384 }; | 360 }; |
| 385 data->InitializePlatformSpecific(arraysize(registers), registers); | 361 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 386 } | 362 } |
| 387 | 363 |
| 388 } // namespace internal | 364 } // namespace internal |
| 389 } // namespace v8 | 365 } // namespace v8 |
| 390 | 366 |
| 391 #endif // V8_TARGET_ARCH_S390 | 367 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |