| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 254 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 255 } | 255 } |
| 256 | 256 |
| 257 | 257 |
| 258 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 258 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
| 259 CallInterfaceDescriptorData* data) { | 259 CallInterfaceDescriptorData* data) { |
| 260 // register state | 260 // register state |
| 261 data->InitializePlatformSpecific(0, nullptr, nullptr); | 261 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| 262 } | 262 } |
| 263 | 263 |
| 264 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 265 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
| 266 CallInterfaceDescriptorData* data) { \ |
| 267 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
| 268 } |
| 269 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 270 #undef SIMD128_ALLOC_DESC |
| 264 | 271 |
| 265 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( | 272 void AllocateInNewSpaceDescriptor::InitializePlatformSpecific( |
| 266 CallInterfaceDescriptorData* data) { | 273 CallInterfaceDescriptorData* data) { |
| 267 Register registers[] = {a0}; | 274 Register registers[] = {a0}; |
| 268 data->InitializePlatformSpecific(arraysize(registers), registers); | 275 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 269 } | 276 } |
| 270 | 277 |
| 271 | 278 |
| 272 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 279 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
| 273 CallInterfaceDescriptorData* data) { | 280 CallInterfaceDescriptorData* data) { |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 a2, // address of first argument (argv) | 455 a2, // address of first argument (argv) |
| 449 a1 // the runtime function to call | 456 a1 // the runtime function to call |
| 450 }; | 457 }; |
| 451 data->InitializePlatformSpecific(arraysize(registers), registers); | 458 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 452 } | 459 } |
| 453 | 460 |
| 454 } // namespace internal | 461 } // namespace internal |
| 455 } // namespace v8 | 462 } // namespace v8 |
| 456 | 463 |
| 457 #endif // V8_TARGET_ARCH_MIPS | 464 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |