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 AllocateDescriptor::InitializePlatformSpecific( | |
250 CallInterfaceDescriptorData* data) { | |
251 Register registers[] = {a0}; | |
252 data->InitializePlatformSpecific(arraysize(registers), registers); | |
253 } | |
254 | |
255 | |
256 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 249 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
257 CallInterfaceDescriptorData* data) { | 250 CallInterfaceDescriptorData* data) { |
258 // register state | 251 // register state |
259 // a0 -- number of arguments | 252 // a0 -- number of arguments |
260 // a1 -- function | 253 // a1 -- function |
261 // a2 -- allocation site with elements kind | 254 // a2 -- allocation site with elements kind |
262 Register registers[] = {a1, a2}; | 255 Register registers[] = {a1, a2}; |
263 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 256 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
264 } | 257 } |
265 | 258 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 a1, // the JSGeneratorObject to resume | 416 a1, // the JSGeneratorObject to resume |
424 a2 // the resume mode (tagged) | 417 a2 // the resume mode (tagged) |
425 }; | 418 }; |
426 data->InitializePlatformSpecific(arraysize(registers), registers); | 419 data->InitializePlatformSpecific(arraysize(registers), registers); |
427 } | 420 } |
428 | 421 |
429 } // namespace internal | 422 } // namespace internal |
430 } // namespace v8 | 423 } // namespace v8 |
431 | 424 |
432 #endif // V8_TARGET_ARCH_MIPS64 | 425 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |