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