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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 202 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
203 } | 203 } |
204 | 204 |
205 | 205 |
206 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( | 206 void AllocateHeapNumberDescriptor::InitializePlatformSpecific( |
207 CallInterfaceDescriptorData* data) { | 207 CallInterfaceDescriptorData* data) { |
208 // register state | 208 // register state |
209 data->InitializePlatformSpecific(0, nullptr, nullptr); | 209 data->InitializePlatformSpecific(0, nullptr, nullptr); |
210 } | 210 } |
211 | 211 |
212 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ | |
213 void Allocate##Type##Descriptor::InitializePlatformSpecific( \ | |
214 CallInterfaceDescriptorData* data) { \ | |
215 data->InitializePlatformSpecific(0, nullptr, nullptr); \ | |
216 } | |
217 SIMD128_TYPES(SIMD128_ALLOC_DESC) | |
218 #undef SIMD128_ALLOC_DESC | |
219 | |
220 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( | 212 void ArrayNoArgumentConstructorDescriptor::InitializePlatformSpecific( |
221 CallInterfaceDescriptorData* data) { | 213 CallInterfaceDescriptorData* data) { |
222 // register state | 214 // register state |
223 // eax -- number of arguments | 215 // eax -- number of arguments |
224 // edi -- function | 216 // edi -- function |
225 // ebx -- allocation site with elements kind | 217 // ebx -- allocation site with elements kind |
226 Register registers[] = {edi, ebx, eax}; | 218 Register registers[] = {edi, ebx, eax}; |
227 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 219 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
228 } | 220 } |
229 | 221 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 ebx, // the JSGeneratorObject to resume | 397 ebx, // the JSGeneratorObject to resume |
406 edx // the resume mode (tagged) | 398 edx // the resume mode (tagged) |
407 }; | 399 }; |
408 data->InitializePlatformSpecific(arraysize(registers), registers); | 400 data->InitializePlatformSpecific(arraysize(registers), registers); |
409 } | 401 } |
410 | 402 |
411 } // namespace internal | 403 } // namespace internal |
412 } // namespace v8 | 404 } // namespace v8 |
413 | 405 |
414 #endif // V8_TARGET_ARCH_X87 | 406 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |