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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 void InterpreterCEntryDescriptor::InitializePlatformSpecific( | 444 void InterpreterCEntryDescriptor::InitializePlatformSpecific( |
445 CallInterfaceDescriptorData* data) { | 445 CallInterfaceDescriptorData* data) { |
446 Register registers[] = { | 446 Register registers[] = { |
447 eax, // argument count (argc) | 447 eax, // argument count (argc) |
448 ecx, // address of first argument (argv) | 448 ecx, // address of first argument (argv) |
449 ebx // the runtime function to call | 449 ebx // the runtime function to call |
450 }; | 450 }; |
451 data->InitializePlatformSpecific(arraysize(registers), registers); | 451 data->InitializePlatformSpecific(arraysize(registers), registers); |
452 } | 452 } |
453 | 453 |
| 454 |
| 455 void AtomicsLoadDescriptor::InitializePlatformSpecific( |
| 456 CallInterfaceDescriptorData* data) { |
| 457 Register registers[] = {edx, eax}; |
| 458 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 459 } |
| 460 |
454 } // namespace internal | 461 } // namespace internal |
455 } // namespace v8 | 462 } // namespace v8 |
456 | 463 |
457 #endif // V8_TARGET_ARCH_IA32 | 464 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |