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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 312 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
313 } | 313 } |
314 | 314 |
315 | 315 |
316 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 316 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
317 CallInterfaceDescriptorData* data) { | 317 CallInterfaceDescriptorData* data) { |
318 Register registers[] = {ecx, edx, eax}; | 318 Register registers[] = {ecx, edx, eax}; |
319 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 319 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
320 } | 320 } |
321 | 321 |
| 322 void CountOpDescriptor::InitializePlatformSpecific( |
| 323 CallInterfaceDescriptorData* data) { |
| 324 Register registers[] = {eax}; |
| 325 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 326 } |
322 | 327 |
323 void StringAddDescriptor::InitializePlatformSpecific( | 328 void StringAddDescriptor::InitializePlatformSpecific( |
324 CallInterfaceDescriptorData* data) { | 329 CallInterfaceDescriptorData* data) { |
325 Register registers[] = {edx, eax}; | 330 Register registers[] = {edx, eax}; |
326 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 331 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
327 } | 332 } |
328 | 333 |
329 | 334 |
330 void KeyedDescriptor::InitializePlatformSpecific( | 335 void KeyedDescriptor::InitializePlatformSpecific( |
331 CallInterfaceDescriptorData* data) { | 336 CallInterfaceDescriptorData* data) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 ebx, // the JSGeneratorObject to resume | 427 ebx, // the JSGeneratorObject to resume |
423 edx // the resume mode (tagged) | 428 edx // the resume mode (tagged) |
424 }; | 429 }; |
425 data->InitializePlatformSpecific(arraysize(registers), registers); | 430 data->InitializePlatformSpecific(arraysize(registers), registers); |
426 } | 431 } |
427 | 432 |
428 } // namespace internal | 433 } // namespace internal |
429 } // namespace v8 | 434 } // namespace v8 |
430 | 435 |
431 #endif // V8_TARGET_ARCH_X87 | 436 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |