| 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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
| 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 AllocateDescriptor::InitializePlatformSpecific( | |
| 255 CallInterfaceDescriptorData* data) { | |
| 256 Register registers[] = {eax}; | |
| 257 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 258 } | |
| 259 | |
| 260 | |
| 261 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( | 254 void ArrayConstructorConstantArgCountDescriptor::InitializePlatformSpecific( |
| 262 CallInterfaceDescriptorData* data) { | 255 CallInterfaceDescriptorData* data) { |
| 263 // register state | 256 // register state |
| 264 // eax -- number of arguments | 257 // eax -- number of arguments |
| 265 // edi -- function | 258 // edi -- function |
| 266 // ebx -- allocation site with elements kind | 259 // ebx -- allocation site with elements kind |
| 267 Register registers[] = {edi, ebx}; | 260 Register registers[] = {edi, ebx}; |
| 268 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 261 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 269 } | 262 } |
| 270 | 263 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 ebx, // the JSGeneratorObject to resume | 422 ebx, // the JSGeneratorObject to resume |
| 430 edx // the resume mode (tagged) | 423 edx // the resume mode (tagged) |
| 431 }; | 424 }; |
| 432 data->InitializePlatformSpecific(arraysize(registers), registers); | 425 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 433 } | 426 } |
| 434 | 427 |
| 435 } // namespace internal | 428 } // namespace internal |
| 436 } // namespace v8 | 429 } // namespace v8 |
| 437 | 430 |
| 438 #endif // V8_TARGET_ARCH_IA32 | 431 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |