| 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 Register registers[] = {r3, r4}; | 249 Register registers[] = {r3, r4}; |
| 250 data->InitializePlatformSpecific(arraysize(registers), registers); | 250 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 251 } | 251 } |
| 252 | 252 |
| 253 | 253 |
| 254 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 254 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 255 CallInterfaceDescriptorData* data) { | 255 CallInterfaceDescriptorData* data) { |
| 256 data->InitializePlatformSpecific(0, nullptr, nullptr); | 256 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| 257 } | 257 } |
| 258 | 258 |
| 259 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 260 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 261 CallInterfaceDescriptorData* data) { \ |
| 262 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 263 } |
| 264 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 265 #undef SIMD128_ALLOC_DESC |
| 259 | 266 |
| 260 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 267 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
| 261 CallInterfaceDescriptorData* data) { | 268 CallInterfaceDescriptorData* data) { |
| 262 Register registers[] = {r3}; | 269 Register registers[] = {r3}; |
| 263 data->InitializePlatformSpecific(arraysize(registers), registers); | 270 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 264 } | 271 } |
| 265 | 272 |
| 266 | 273 |
| 267 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 274 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
| 268 CallInterfaceDescriptorData* data) { | 275 CallInterfaceDescriptorData* data) { |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 r3, // argument count (argc) | 449 r3, // argument count (argc) |
| 443 r5, // address of first argument (argv) | 450 r5, // address of first argument (argv) |
| 444 r4 // the runtime function to call | 451 r4 // the runtime function to call |
| 445 }; | 452 }; |
| 446 data->InitializePlatformSpecific(arraysize(registers), registers); | 453 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 447 } | 454 } |
| 448 } // namespace internal | 455 } // namespace internal |
| 449 } // namespace v8 | 456 } // namespace v8 |
| 450 | 457 |
| 451 #endif // V8_TARGET_ARCH_PPC | 458 #endif // V8_TARGET_ARCH_PPC |
| OLD | NEW |