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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 data->InitializePlatformSpecific(arraysize(registers), registers); | 306 data->InitializePlatformSpecific(arraysize(registers), registers); |
307 } | 307 } |
308 | 308 |
309 | 309 |
310 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 310 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
311 CallInterfaceDescriptorData* data) { | 311 CallInterfaceDescriptorData* data) { |
312 Register registers[] = {r5, r4, r3}; | 312 Register registers[] = {r5, r4, r3}; |
313 data->InitializePlatformSpecific(arraysize(registers), registers); | 313 data->InitializePlatformSpecific(arraysize(registers), registers); |
314 } | 314 } |
315 | 315 |
| 316 void CountOpDescriptor::InitializePlatformSpecific( |
| 317 CallInterfaceDescriptorData* data) { |
| 318 Register registers[] = {r4}; |
| 319 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 320 } |
316 | 321 |
317 void StringAddDescriptor::InitializePlatformSpecific( | 322 void StringAddDescriptor::InitializePlatformSpecific( |
318 CallInterfaceDescriptorData* data) { | 323 CallInterfaceDescriptorData* data) { |
319 Register registers[] = {r4, r3}; | 324 Register registers[] = {r4, r3}; |
320 data->InitializePlatformSpecific(arraysize(registers), registers); | 325 data->InitializePlatformSpecific(arraysize(registers), registers); |
321 } | 326 } |
322 | 327 |
323 | 328 |
324 void KeyedDescriptor::InitializePlatformSpecific( | 329 void KeyedDescriptor::InitializePlatformSpecific( |
325 CallInterfaceDescriptorData* data) { | 330 CallInterfaceDescriptorData* data) { |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 r3, // the value to pass to the generator | 420 r3, // the value to pass to the generator |
416 r4, // the JSGeneratorObject to resume | 421 r4, // the JSGeneratorObject to resume |
417 r5 // the resume mode (tagged) | 422 r5 // the resume mode (tagged) |
418 }; | 423 }; |
419 data->InitializePlatformSpecific(arraysize(registers), registers); | 424 data->InitializePlatformSpecific(arraysize(registers), registers); |
420 } | 425 } |
421 } // namespace internal | 426 } // namespace internal |
422 } // namespace v8 | 427 } // namespace v8 |
423 | 428 |
424 #endif // V8_TARGET_ARCH_PPC | 429 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |