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