| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( | 215 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
| 216 CallInterfaceDescriptorData* data) { | 216 CallInterfaceDescriptorData* data) { |
| 217 // register state | 217 // register state |
| 218 // r2 -- number of arguments | 218 // r2 -- number of arguments |
| 219 // r3 -- function | 219 // r3 -- function |
| 220 // r4 -- allocation site with elements kind | 220 // r4 -- allocation site with elements kind |
| 221 Register registers[] = {r3, r4, r2}; | 221 Register registers[] = {r3, r4, r2}; |
| 222 data->InitializePlatformSpecific(arraysize(registers), registers); | 222 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 223 } | 223 } |
| 224 | 224 |
| 225 | 225 void ArraySingleArgumentConstructorDescriptor::InitializePlatformSpecific( |
| 226 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | |
| 227 CallInterfaceDescriptorData* data) { | 226 CallInterfaceDescriptorData* data) { |
| 228 // register state | 227 // register state |
| 229 // r2 -- number of arguments | 228 // r2 -- number of arguments |
| 230 // r3 -- function | 229 // r3 -- function |
| 231 // r4 -- allocation site with elements kind | 230 // r4 -- allocation site with elements kind |
| 232 Register registers[] = {r3, r4}; | 231 Register registers[] = {r3, r4, r2}; |
| 233 data->InitializePlatformSpecific(arraysize(registers), registers); | 232 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 234 } | 233 } |
| 235 | 234 |
| 236 void ArrayConstructorDescriptor::InitializePlatformSpecific( | 235 void ArrayConstructorDescriptor::InitializePlatformSpecific( |
| 237 CallInterfaceDescriptorData* data) { | 236 CallInterfaceDescriptorData* data) { |
| 238 // stack param count needs (constructor pointer, and single argument) | 237 // stack param count needs (constructor pointer, and single argument) |
| 239 Register registers[] = {r3, r4, r2}; | 238 Register registers[] = {r3, r4, r2}; |
| 240 data->InitializePlatformSpecific(arraysize(registers), registers); | 239 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 241 } | 240 } |
| 242 | 241 |
| 243 void InternalArrayConstructorConstantArgCountDescriptor:: | |
| 244 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { | |
| 245 // register state | |
| 246 // r2 -- number of arguments | |
| 247 // r3 -- constructor function | |
| 248 Register registers[] = {r3}; | |
| 249 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 250 } | |
| 251 | |
| 252 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( | 242 void InternalArrayConstructorDescriptor::InitializePlatformSpecific( |
| 253 CallInterfaceDescriptorData* data) { | 243 CallInterfaceDescriptorData* data) { |
| 254 // stack param count needs (constructor pointer, and single argument) | 244 // stack param count needs (constructor pointer, and single argument) |
| 255 Register registers[] = {r3, r2}; | 245 Register registers[] = {r3, r2}; |
| 256 data->InitializePlatformSpecific(arraysize(registers), registers); | 246 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 257 } | 247 } |
| 258 | 248 |
| 259 void FastArrayPushDescriptor::InitializePlatformSpecific( | 249 void FastArrayPushDescriptor::InitializePlatformSpecific( |
| 260 CallInterfaceDescriptorData* data) { | 250 CallInterfaceDescriptorData* data) { |
| 261 // stack param count needs (arg count) | 251 // stack param count needs (arg count) |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 r3, // the JSGeneratorObject to resume | 375 r3, // the JSGeneratorObject to resume |
| 386 r4 // the resume mode (tagged) | 376 r4 // the resume mode (tagged) |
| 387 }; | 377 }; |
| 388 data->InitializePlatformSpecific(arraysize(registers), registers); | 378 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 389 } | 379 } |
| 390 | 380 |
| 391 } // namespace internal | 381 } // namespace internal |
| 392 } // namespace v8 | 382 } // namespace v8 |
| 393 | 383 |
| 394 #endif // V8_TARGET_ARCH_S390 | 384 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |