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 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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 a1, // the JSGeneratorObject to resume | 427 a1, // the JSGeneratorObject to resume |
418 a2 // the resume mode (tagged) | 428 a2 // the resume mode (tagged) |
419 }; | 429 }; |
420 data->InitializePlatformSpecific(arraysize(registers), registers); | 430 data->InitializePlatformSpecific(arraysize(registers), registers); |
421 } | 431 } |
422 | 432 |
423 } // namespace internal | 433 } // namespace internal |
424 } // namespace v8 | 434 } // namespace v8 |
425 | 435 |
426 #endif // V8_TARGET_ARCH_MIPS | 436 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |