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_X87 | 5 #if V8_TARGET_ARCH_X87 |
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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 244 } |
245 | 245 |
246 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | 246 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
247 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ | 247 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ |
248 CallInterfaceDescriptorData* data) { \ | 248 CallInterfaceDescriptorData* data) { \ |
249 data->InitializePlatformSpecific(0, nullptr, nullptr); \ | 249 data->InitializePlatformSpecific(0, nullptr, nullptr); \ |
250 } | 250 } |
251 SIMD128_TYPES(SIMD128_ALLOC_DESC) | 251 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
252 #undef SIMD128_ALLOC_DESC | 252 #undef SIMD128_ALLOC_DESC |
253 | 253 |
| 254 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
| 255 CallInterfaceDescriptorData* data) { |
| 256 // register state |
| 257 // eax -- number of arguments |
| 258 // edi -- function |
| 259 // ebx -- allocation site with elements kind |
| 260 Register registers[] = {edi, ebx, eax}; |
| 261 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 262 } |
| 263 |
254 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 264 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
255 CallInterfaceDescriptorData* data) { | 265 CallInterfaceDescriptorData* data) { |
256 // register state | 266 // register state |
257 // eax -- number of arguments | 267 // eax -- number of arguments |
258 // edi -- function | 268 // edi -- function |
259 // ebx -- allocation site with elements kind | 269 // ebx -- allocation site with elements kind |
260 Register registers[] = {edi, ebx}; | 270 Register registers[] = {edi, ebx}; |
261 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 271 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
262 } | 272 } |
263 | 273 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 ebx, // the JSGeneratorObject to resume | 432 ebx, // the JSGeneratorObject to resume |
423 edx // the resume mode (tagged) | 433 edx // the resume mode (tagged) |
424 }; | 434 }; |
425 data->InitializePlatformSpecific(arraysize(registers), registers); | 435 data->InitializePlatformSpecific(arraysize(registers), registers); |
426 } | 436 } |
427 | 437 |
428 } // namespace internal | 438 } // namespace internal |
429 } // namespace v8 | 439 } // namespace v8 |
430 | 440 |
431 #endif // V8_TARGET_ARCH_X87 | 441 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |