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_MIPS64 | 5 #if V8_TARGET_ARCH_MIPS64 |
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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 } | 239 } |
240 | 240 |
241 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 241 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
242 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ | 242 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
243 CallInterfaceDescriptorData* data) { \ | 243 CallInterfaceDescriptorData* data) { \ |
244 data->InitializePlatformSpecific(0, nullptr, nullptr); \ | 244 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
245 } | 245 } |
246 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 246 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
247 #undef SIMD128_ALLOC_DESC | 247 #undef SIMD128_ALLOC_DESC |
248 | 248 |
| 249 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
| 250 CallInterfaceDescriptorData* data) { |
| 251 // register state |
| 252 // a0 -- number of arguments |
| 253 // a1 -- function |
| 254 // a2 -- allocation site with elements kind |
| 255 Register registers[] = {a1, a2, a0}; |
| 256 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 257 } |
| 258 |
249 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 259 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
250 CallInterfaceDescriptorData* data) { | 260 CallInterfaceDescriptorData* data) { |
251 // register state | 261 // register state |
252 // a0 -- number of arguments | 262 // a0 -- number of arguments |
253 // a1 -- function | 263 // a1 -- function |
254 // a2 -- allocation site with elements kind | 264 // a2 -- allocation site with elements kind |
255 Register registers[] = {a1, a2}; | 265 Register registers[] = {a1, a2}; |
256 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 266 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
257 } | 267 } |
258 | 268 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 a1, // the JSGeneratorObject to resume | 426 a1, // the JSGeneratorObject to resume |
417 a2 // the resume mode (tagged) | 427 a2 // the resume mode (tagged) |
418 }; | 428 }; |
419 data->InitializePlatformSpecific(arraysize(registers), registers); | 429 data->InitializePlatformSpecific(arraysize(registers), registers); |
420 } | 430 } |
421 | 431 |
422 } // namespace internal | 432 } // namespace internal |
423 } // namespace v8 | 433 } // namespace v8 |
424 | 434 |
425 #endif // V8_TARGET_ARCH_MIPS64 | 435 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |