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