| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC | 5 #if V8_TARGET_ARCH_PPC |
| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 data->InitializePlatformSpecific(arraysize(registers), registers); | 286 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 287 } | 287 } |
| 288 | 288 |
| 289 | 289 |
| 290 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 290 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
| 291 CallInterfaceDescriptorData* data) { | 291 CallInterfaceDescriptorData* data) { |
| 292 Register registers[] = {r5, r4, r3}; | 292 Register registers[] = {r5, r4, r3}; |
| 293 data->InitializePlatformSpecific(arraysize(registers), registers); | 293 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 294 } | 294 } |
| 295 | 295 |
| 296 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
| 297 CallInterfaceDescriptorData* data) { |
| 298 // register state |
| 299 // r4 -- lhs |
| 300 // r3 -- rhs |
| 301 // r7 -- slot id |
| 302 // r6 -- vector |
| 303 Register registers[] = {r4, r3, r7, r6}; |
| 304 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 305 } |
| 306 |
| 296 void CountOpDescriptor::InitializePlatformSpecific( | 307 void CountOpDescriptor::InitializePlatformSpecific( |
| 297 CallInterfaceDescriptorData* data) { | 308 CallInterfaceDescriptorData* data) { |
| 298 Register registers[] = {r4}; | 309 Register registers[] = {r4}; |
| 299 data->InitializePlatformSpecific(arraysize(registers), registers); | 310 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 300 } | 311 } |
| 301 | 312 |
| 302 void StringAddDescriptor::InitializePlatformSpecific( | 313 void StringAddDescriptor::InitializePlatformSpecific( |
| 303 CallInterfaceDescriptorData* data) { | 314 CallInterfaceDescriptorData* data) { |
| 304 Register registers[] = {r4, r3}; | 315 Register registers[] = {r4, r3}; |
| 305 data->InitializePlatformSpecific(arraysize(registers), registers); | 316 data->InitializePlatformSpecific(arraysize(registers), registers); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 r3, // the value to pass to the generator | 411 r3, // the value to pass to the generator |
| 401 r4, // the JSGeneratorObject to resume | 412 r4, // the JSGeneratorObject to resume |
| 402 r5 // the resume mode (tagged) | 413 r5 // the resume mode (tagged) |
| 403 }; | 414 }; |
| 404 data->InitializePlatformSpecific(arraysize(registers), registers); | 415 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 405 } | 416 } |
| 406 } // namespace internal | 417 } // namespace internal |
| 407 } // namespace v8 | 418 } // namespace v8 |
| 408 | 419 |
| 409 #endif // V8_TARGET_ARCH_PPC | 420 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |