| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 } | 317 } |
| 318 | 318 |
| 319 | 319 |
| 320 void CompareDescriptor::InitializePlatformSpecific( | 320 void CompareDescriptor::InitializePlatformSpecific( |
| 321 CallInterfaceDescriptorData* data) { | 321 CallInterfaceDescriptorData* data) { |
| 322 Register registers[] = {edx, eax}; | 322 Register registers[] = {edx, eax}; |
| 323 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 323 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 324 } | 324 } |
| 325 | 325 |
| 326 | 326 |
| 327 void CompareNilDescriptor::InitializePlatformSpecific( |
| 328 CallInterfaceDescriptorData* data) { |
| 329 Register registers[] = {eax}; |
| 330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 331 } |
| 332 |
| 333 |
| 327 void ToBooleanDescriptor::InitializePlatformSpecific( | 334 void ToBooleanDescriptor::InitializePlatformSpecific( |
| 328 CallInterfaceDescriptorData* data) { | 335 CallInterfaceDescriptorData* data) { |
| 329 Register registers[] = {eax}; | 336 Register registers[] = {eax}; |
| 330 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 337 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 331 } | 338 } |
| 332 | 339 |
| 333 | 340 |
| 334 void BinaryOpDescriptor::InitializePlatformSpecific( | 341 void BinaryOpDescriptor::InitializePlatformSpecific( |
| 335 CallInterfaceDescriptorData* data) { | 342 CallInterfaceDescriptorData* data) { |
| 336 Register registers[] = {edx, eax}; | 343 Register registers[] = {edx, eax}; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 ecx, // address of first argument (argv) | 458 ecx, // address of first argument (argv) |
| 452 ebx // the runtime function to call | 459 ebx // the runtime function to call |
| 453 }; | 460 }; |
| 454 data->InitializePlatformSpecific(arraysize(registers), registers); | 461 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 455 } | 462 } |
| 456 | 463 |
| 457 } // namespace internal | 464 } // namespace internal |
| 458 } // namespace v8 | 465 } // namespace v8 |
| 459 | 466 |
| 460 #endif // V8_TARGET_ARCH_IA32 | 467 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |